Buffer overflow in Linuxfoundation 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 exploit has been disclosed to the public and may be used.
Vulnerability class: Buffer Overflow
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.003, 20.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linuxfoundation Pytorch — versions 2.6.0
- Pytorch — versions 2.6.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (dylanleonard-1/ProcessUnity-3rd-Party-vendor-risk-lab). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-303012 | PyTorch torch.jit.jit_module_from_flatbuffer memory corruption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-303012 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #525049 | pytorch pytorch (in torch.jit.jit_module_from_flatbuffer) torch 2.6.0 Memory Leak (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/pytorch/pytorch/issues/149800 (issue-tracking, Issue Tracking, Vendor Advisory)
- github.com/pytorch/pytorch/issues/149800 (issue-tracking, exploit, Issue Tracking, Vendor Advisory)