| Name | CVE-2024-31580 | 
| 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 1070379 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| pytorch (PTS) | bullseye | 1.7.1-7 | vulnerable | 
|  | bookworm | 1.13.1+dfsg-4 | vulnerable | 
|  | trixie | 2.6.0+dfsg-7 | fixed | 
|  | forky, sid | 2.6.0+dfsg-9 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| pytorch | source | (unstable) | 2.4.1-1 |  |  | 1070379 | 
Notes
[bookworm] - pytorch <ignored> (Minor issue)
[bullseye] - pytorch <no-dsa> (Minor issue)
https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81