Buffer overflow in Pytorch
CVE-2025-3121
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 ex…
Vulnerability class: Buffer Overflow
EPSS: 0.001 (25.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
Affected products
- N/a Pytorch — versions 2.6.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- VDB-303012 | PyTorch torch.jit.jit_module_from_flatbuffer memory corruption (vdb-entry, technical-description)
- VDB-303012 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #525049 | pytorch pytorch (in torch.jit.jit_module_from_flatbuffer) torch 2.6.0 Memory Leak (third-party-advisory)
- github.com/pytorch/pytorch/issues/149800 (issue-tracking)
- github.com/pytorch/pytorch/issues/149800 (exploit, issue-tracking)
Frequently asked questions
- What is CVE-2025-3121?
- CVE-2025-3121 is a low-severity vulnerability in Pytorch, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2025-04-02.
- How severe is CVE-2025-3121?
- Low severity. CVSS v3 base score is 3.3 out of 10.
- Is CVE-2025-3121 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.