Vulnerabilities · 2024 · Linuxfoundation
CVE-2024-31580
Linuxfoundation Pytorch vulnerability
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 products
Pytorch. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxfoundation Pytorch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81 · Patch
- gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3d · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-31580
- security.snyk.io/vuln/SNYK-PYTHON-TORCH-6649934
- github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2024-252.yaml
- github.com/advisories/GHSA-5pcm-hx3q-hm94
- nvd.nist.gov/vuln/detail/CVE-2024-31580
- cve.org/CVERecord?id=CVE-2024-31580
More vulnerabilities in Linuxfoundation products
CVE-2026-24747CVE-2026-24117CVE-2026-23955CVE-2026-23831CVE-2025-68141CVE-2025-68140CVE-2025-68139CVE-2025-68138All 418
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.