CVE-2025-3121
PyTorch torch.jit.jit_module_from_flatbuffer memory corruption
- State
- Published
- Severity
- 4.8 Medium
- Published
- Apr 2, 2025
- Updated
- Apr 3, 2025
- Reserved
- Apr 2, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | 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 | VulDB |
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| 3.0 | 3.3 Low | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P | VulDB |
Weaknesses
- CWE-119 Memory Corruption
Affected Products
| Product | Versions |
|---|---|
PyTorchn/a |
|
References
- VDB-303012 | PyTorch torch.jit.jit_module_from_flatbuffer memory corruptionvdb-entrytechnical-description
- VDB-303012 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #525049 | pytorch pytorch (in torch.jit.jit_module_from_flatbuffer) torch 2.6.0 Memory Leakthird-party-advisory
- https://github.com/pytorch/pytorch/issues/149800issue-tracking
- https://github.com/pytorch/pytorch/issues/149800#issue-2940240700exploitissue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.