| Name | CVE-2024-31584 | 
| Description | Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.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 | fixed | 
|  | 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 | bullseye | (not affected) |  |  |  | 
| pytorch | source | (unstable) | 2.4.1-1 |  |  | 1070379 | 
Notes
[bookworm] - pytorch <ignored> (Minor issue)
[bullseye] - pytorch <not-affected> (Vulnerable code introduced later)
https://github.com/pytorch/pytorch/commit/7c35874ad664e74c8e4252d67521f3986eadb0e6