Vulnerability · Published Apr 17, 2024 · Assigned by mitre
CVE-2024-31583
High 7.8
In plain English
A high-severity use-after-free in the pytorch package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 80.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pytorch | no fix listed | DEBIAN-CVE-2024-31583 |
| Debian:13 | pytorch | 2.4.1-1 | DEBIAN-CVE-2024-31583 |
| Debian:14 | pytorch | 2.4.1-1 | DEBIAN-CVE-2024-31583 |
| PyPI | torch | 2.2.0 | GHSA-pg7h-5qx3-wjr3 |
| PyPI | torch | 2.2.0 | PYSEC-2024-251 |
| Ubuntu:22.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2024-31583 |
| Ubuntu:25.10 | pytorch | no fix listed | UBUNTU-CVE-2024-31583 |
| Ubuntu:26.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2024-31583 |
| Ubuntu:26.10 | pytorch | no fix listed | UBUNTU-CVE-2024-31583 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H