
CVE catalog
CVE-2024-31580
pytorch: CVE-2024-31580
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.22% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pytorch | sid | 2.14.1+dfsg-1 | fixed |
| Debian | pytorch | forky | 2.14.1+dfsg-1 | fixed |
| Debian | pytorch | trixie | 2.6.0+dfsg-7 | fixed |
| Debian | pytorch | bookworm | 1.13.1+dfsg-4 | vulnerable |
| PyPI | torch | Not reported | 2.2.0 | fixed |
| PyPI | torch | Not reported | 2.2.0 | fixed |
| PyPI | torch | Not reported | b5c3a17c2c207ebefcb85043f0cf94be9b2fef81 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pytorch | source | sid | 2.4.1-1 | not yet assigned | Not reported | [1070379] |
| Debian | pytorch | source | forky | 2.4.1-1 | not yet assigned | Not reported | [1070379] |
| Debian | pytorch | source | trixie | 2.4.1-1 | not yet assigned | Not reported | [1070379] |
| Debian | pytorch | source | bookworm | (unfixed) | not yet assigned | Not reported | [1070379] |
| PyPI | torch | PyPI | Not reported | 2.2.0 | Not reported | GHSA-5PCM-HX3Q-HM94 | Not reported |
| PyPI | torch | PyPI | Not reported | 2.2.0 | Not reported | PYSEC-2024-252 | Not reported |
| PyPI | torch | PyPI | Not reported | b5c3a17c2c207ebefcb85043f0cf94be9b2fef81 | Not reported | PYSEC-2024-252 | Not reported |
Notes
[bookworm] pytorch: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-31580]
- [https://osv.dev/vulnerability/PYSEC-2024-252]
- [https://security-tracker.debian.org/tracker/CVE-2024-31580]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0922.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]