CVE-2024-31583
published 2024-04-17CVE-2024-31583: Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
PriorityP434high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.27%
18.3th percentile
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | pytorch | < pytorch 2.4.1-1 (forky) | pytorch 2.4.1-1 (forky) |
| linuxfoundation | pytorch | < 2.2.0 | 2.2.0 |
| linuxfoundation | pytorch | >= 0 < 2.4.1-1 | 2.4.1-1 |
| linuxfoundation | pytorch | >= 0 < 2.4.1-1 | 2.4.1-1 |
| msrc | cbl2_pytorch_2.0.0-4_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_pytorch_2.0.0-8_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
vendor_msrc·2024-04-09·CVSS 7.8
CVE-2024-31583 [HIGH] CWE-416 Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action R
Debian
CVE-2024-31583: pytorch - Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnera...
vendor_debian·2024·CVSS 7.8
CVE-2024-31583 [HIGH] CVE-2024-31583: pytorch - Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnera...
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 2.4.1-1)
sid: resolved (fixed in 2.4.1-1)
trixie: resolved (fixed in 2.4.1-1)
OSV
Pytorch use-after-free vulnerability
osv·2024-04-17
CVE-2024-31583 [HIGH] Pytorch use-after-free vulnerability
Pytorch use-after-free vulnerability
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
GHSA
Pytorch use-after-free vulnerability
ghsa·2024-04-17
CVE-2024-31583 [HIGH] CWE-416 Pytorch use-after-free vulnerability
Pytorch use-after-free vulnerability
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
OSV
CVE-2024-31583: Pytorch before version v2
osv·2024-04-17·CVSS 7.8
CVE-2024-31583 [HIGH] CVE-2024-31583: Pytorch before version v2
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://gist.github.com/1047524396/43e19a41f2b36503a4a228c32cdbc176https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/interpreter.cpp#L132https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2https://gist.github.com/1047524396/43e19a41f2b36503a4a228c32cdbc176https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/interpreter.cpp#L132https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2
2024-04-17
Published