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

EcosystemPackageFixed inAdvisory
Debian:12pytorchno fix listedDEBIAN-CVE-2024-31583
Debian:13pytorch2.4.1-1DEBIAN-CVE-2024-31583
Debian:14pytorch2.4.1-1DEBIAN-CVE-2024-31583
PyPItorch2.2.0GHSA-pg7h-5qx3-wjr3
PyPItorch2.2.0PYSEC-2024-251
Ubuntu:22.04:LTSpytorchno fix listedUBUNTU-CVE-2024-31583
Ubuntu:25.10pytorchno fix listedUBUNTU-CVE-2024-31583
Ubuntu:26.04:LTSpytorchno fix listedUBUNTU-CVE-2024-31583
Ubuntu:26.10pytorchno fix listedUBUNTU-CVE-2024-31583

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References