GitHub Advisoryadvisory · PyPI
GHSA-5pcm-hx3q-hm94 PyTorch heap buffer overflow vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2024-31580
- Ecosystem
- PyPI
- Packages
- torch
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-122
- Reviewed
- 2024-07-25
Affected packages
• PyPI torch: < 2.2.0 → fixed in 2.2.0
Description
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.
Related
Alias · CVE (1)
- CVE-2024-31580 PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. vulnerability
Weakness · CWE (1)
- CWE-122 Heap-based Buffer Overflow weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-31580 advisory
- https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81 web
- https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3d web
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2024-252.yaml web
- https://github.com/pytorch/pytorch package
- https://security.snyk.io/vuln/SNYK-PYTHON-TORCH-6649934 web