# CVE-2025-3121: PyTorch torch.jit.jit_module_from_flatbuffer memory corruption

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-04-02T22:00:12.390Z
- Modified: 2026-09-08T08:48:24.795Z
- Also known as: PYSEC-2025-196, BIT-PYTORCH-2025-3121
- Weaknesses: CWE-119
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- PyTorch: 2.6.0
- linuxfoundation pytorch: 2.6.0
- torch (PyPI): up to 2.6.0-NA
- pytorch (Bitnami): from 2.6.0 before 2.7.0

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://vuldb.com/?submit.525049> (exploit, advisory, evidence, third-party-advisory, vdb-entry)
- <https://github.com/pytorch/pytorch/issues/149800#issue-2940240700> (exploit, advisory, issue-tracking, report, vendor-advisory)
- <https://vuldb.com/?id.303012> (advisory, technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.303012> (permissions-required, report, signature, vdb-entry)
- <https://github.com/pytorch/pytorch/issues/149800> (advisory, issue-tracking, report, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3121> (web)

## Sources

- CVE List: [CVE-2025-3121](https://www.cve.org/CVERecord?id=CVE-2025-3121), CVE Terms of Use, modified 2025-04-03
- NVD: [CVE-2025-3121](https://nvd.nist.gov/vuln/detail/CVE-2025-3121), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-196](https://osv.dev/vulnerability/PYSEC-2025-196), CC-BY-4.0, modified 2026-05-21
- Bitnami Vulnerability Database: [BIT-PYTORCH-2025-3121](https://osv.dev/vulnerability/BIT-PYTORCH-2025-3121), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-3121 · Whole record: https://cve.day/CVE-2025-3121.json · Rebuilt by cve.day 2026-11-25T22:58:55.971Z
