# CVE-2025-3001: PyTorch torch.lstm_cell 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:L/VI:L/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.20%, higher than 10% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-31T15:31:05.008Z
- Modified: 2026-09-08T08:48:18.828Z
- Also known as: GHSA-qfhq-4f3w-5fph, BIT-PYTORCH-2025-3001, PYSEC-2025-195
- Weaknesses: CWE-119
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as critical was found in PyTorch 2.6.0. This vulnerability affects the function torch.lstm_cell. The manipulation leads to memory corruption. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- PyTorch: 2.6.0
- torch (PyPI): before 2.10.0; up to 2.6.0-NA
- linuxfoundation pytorch: 2.6.0
- 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:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P`
- GitHub: CVSS:3.1 5.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/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`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/pytorch/pytorch/issues/149626#issue-2935860995> (exploit, advisory, issue-tracking, report, vendor-advisory, web)
- <https://vuldb.com/?id.302050> (advisory, technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.302050> (permissions-required, report, signature, vdb-entry, web)
- <https://vuldb.com/?submit.524212> (advisory, third-party-advisory, vdb-entry, web)
- <https://github.com/pytorch/pytorch/issues/149626> (advisory, issue-tracking, report, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3001> (advisory, web)
- <https://github.com/pytorch/pytorch/commit/999d94b5ede5f4ec111ba7dd144129e2c2725b03> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-195.yaml> (web)
- <https://github.com/pytorch/pytorch> (package)
- <https://github.com/advisories/GHSA-qfhq-4f3w-5fph> (advisory)

## Sources

- CVE List: [CVE-2025-3001](https://www.cve.org/CVERecord?id=CVE-2025-3001), CVE Terms of Use, modified 2025-03-31
- GitHub Advisory Database: [GHSA-qfhq-4f3w-5fph](https://github.com/advisories/GHSA-qfhq-4f3w-5fph), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2025-3001](https://nvd.nist.gov/vuln/detail/CVE-2025-3001), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-195](https://osv.dev/vulnerability/PYSEC-2025-195), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-PYTORCH-2025-3001](https://osv.dev/vulnerability/BIT-PYTORCH-2025-3001), Apache-2.0, modified 2026-09-08

---

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