| Name | CVE-2024-31583 | 
| Description | Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp. | 
| 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/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2