Vulnerability · Published Apr 2, 2025 · Assigned by VulDB

CVE-2025-3121PyTorch torch.jit.jit_module_from_flatbuffer memory corruption

Low 3.3

In plain English

A low-severity memory corruption in PyTorch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities).

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.3%top 79.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability classified as problematic has been found in PyTorch 2.6.0. Affected is the function torch.jit.jit_module_from_flatbuffer. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pytorchno fix listedDEBIAN-CVE-2025-3121
Debian:13pytorchno fix listedDEBIAN-CVE-2025-3121
Debian:14pytorchno fix listedDEBIAN-CVE-2025-3121
PyPItorchno fix listedPYSEC-2025-196
Ubuntu:22.04:LTSpytorchno fix listedUBUNTU-CVE-2025-3121
Ubuntu:25.10pytorchno fix listedUBUNTU-CVE-2025-3121
Ubuntu:26.04:LTSpytorchno fix listedUBUNTU-CVE-2025-3121
Ubuntu:26.10pytorchno fix listedUBUNTU-CVE-2025-3121

Affected products (as reported)

VendorProductVersions
n/a PyTorch 2.6.0

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

References