high7.5
CVE-2024-31580
PyTorch heap buffer overflow vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | torch | < 2.2.0 | 2.2.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linuxfoundation | Pytorch | before 2.2.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3d
- https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81
- https://github.com/advisories/GHSA-5pcm-hx3q-hm94
- https://nvd.nist.gov/vuln/detail/CVE-2024-31580
- https://security.snyk.io/vuln/SNYK-PYTHON-TORCH-6649934
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2024-252.yaml