CVE-2024-31580
mediumpriority · track · 0EPSS 0.002 · 13 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 3.7–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
advisories (5)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0922PyTorch: Mehrere Schwachstellen ermöglichen Denial of ServiceDeutsch2024-04-17csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in PyTorch ausnutzen, um einen Denial of Service Angriff durchzuführen.
- GHSA-5pcm-hx3q-hm94PyTorch heap buffer overflow vulnerability2024-04-17ghsa · osvUS
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.
- BIT-pytorch-2024-315802025-06-11vendor · osvUS
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.
- PYSEC-2024-2522024-04-17vendor · osvUS
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.
- PYSEC-2024-3282024-04-17vendor · osvUS
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.
also known as (10)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-31580/cnnvd
- https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3dcnnvd
- https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81cnnvd
- https://github.com/pytorch/pytorch/releases/tag/v2.2.2Patchcnnvd
- https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3denisa_euvd
- https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81enisa_euvd
- https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3dThird Party Advisorynvd
- https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan