Medium severity · published Apr 2, 2025
CVE-2025-3121
A vulnerability classified as problematic has been found in PyTorch 2.6.0
5.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
Pytorch · Linuxfoundation
2.6.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-3121
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-3121
Issue Tracking
https://github.com/pytorch/pytorch/issues/149800
Issue Tracking
https://github.com/pytorch/pytorch/issues/149800#issue-2940240700
Permissions Required
https://vuldb.com/?ctiid.303012
Third Party Advisory
https://vuldb.com/?id.303012
Exploit
https://vuldb.com/?submit.525049
More from Pytorch
9.8
CVE-2025-32434
PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system
9.8
CVE-2024-48063
In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE
9.8
CVE-2022-45907
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely
8.8
CVE-2026-24747
PyTorch is a Python package that provides tensor computation
7.8
CVE-2026-4538
PyTorch pt2 Loading deserialization
