ADVISORIES

Vulnerability

CVE-2024-31580

PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.

6 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • AZL-39930

    CVE-2024-31580 affecting package pytorch for versions less than 2.0.0-4

    CVE-2024-31580 Azure Linux Updated 21 April 2026
  • DEBIAN-CVE-2024-31580

    PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted…

    CVE-2024-31580 Debian Updated 2 November 2026
  • GHSA-5pcm-hx3q-hm94

    PyTorch heap buffer overflow vulnerability

    High CVE-2024-31580 PyPI Updated 27 July 2026
  • PYSEC-2024-252

    PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted…

    CVE-2024-31580 PyPI Updated 27 July 2026
  • PYSEC-2024-328

    PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted…

    CVE-2024-31580 PyPI Updated 27 July 2026
  • UBUNTU-CVE-2024-31580

    PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted…

    CVE-2024-31580 Ubuntu Updated 11 November 2026

References