CVE-2025-3121
MEDIUM5.5EPSS 0.09%PyTorch torch.jit.jit_module_from_flatbuffer memory corruption
Published: 4/2/2025Modified: 5/21/2026
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.
Affected packages (3)
- Bitnami/pytorch>= 2.6.0, < 2.7.0
- Debian/pytorchfrom 0
- PyPI/torchfrom 0, <= 2.6.0-NA
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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:X |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-3121
- ADVISORYhttps://vuldb.com/?id.303012
- EXPLOIThttps://vuldb.com/?submit.525049
- REPORThttps://github.com/pytorch/pytorch/issues/149800
- REPORThttps://github.com/pytorch/pytorch/issues/149800#issue-2940240700
- REPORThttps://vuldb.com/?ctiid.303012
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-3121