Vulnerability database / CVE-2025-3121
CVE-2025-3121
MEDIUM 4.8 CVSS 4.0 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.
Published 2 Apr 2025
Last modified 17 Jun 2026 Assigned by cna@vuldb.com NVD status Analyzed Weakness
CWE-119 Also known as
BIT-pytorch-2025-3121 PYSEC-2025-196 Sources
NVD JSON OSV PYSEC-2025-196 JSON Scores
Source Scored by Version Score Vector / decision
NVD
cna@vuldb.com (Secondary)
CVSS 4.0
MEDIUM 4.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOSV
PyPA
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD
cna@vuldb.com (Secondary)
CVSS 3.1
LOW 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LNVD
cna@vuldb.com (Secondary)
CVSS 2.0
LOW 1.7
AV:L/AC:L/Au:S/C:N/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
linuxfoundation
pytorchcpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*
= 2.6.0
OSV
PyPI
torch
<= 2.6.0-NA
References
https://github.com/pytorch/pytorch/issues/149800 · Issue Tracking, Vendor Advisory, REPORT https://github.com/pytorch/pytorch/issues/149800#issue-2940240700 · Issue Tracking, Vendor Advisory, REPORT https://vuldb.com/?ctiid.303012 · Permissions Required, VDB Entry, REPORT https://vuldb.com/?id.303012 · Third Party Advisory, VDB Entry, ADVISORY https://vuldb.com/?submit.525049 · Exploit, Third Party Advisory, VDB Entry, EVIDENCE
History
25 Nov 2026 20:57 UTC · NVD: first stored (published 2 Apr 2025)25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Apr 2025)