CVE-2025-3001
MEDIUM 4.8CVSS 4.0PyTorch is vulnerable to memory corruption through its torch.lstm_cell function
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.
- Published
- 31 Mar 2025
- Last modified
- 13 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-119
- Also known as
- BIT-pytorch-2025-3001GHSA-qfhq-4f3w-5fphPYSEC-2025-195
- Sources
- NVDJSONOSV GHSA-qfhq-4f3w-5fphJSONOSV PYSEC-2025-195JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 4.8 | 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 |
| OSV | GitHub | 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:P | |
| OSV | PyPA | 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 | |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 4.3 | AV:L/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | pytorchcpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:* |
= 2.6.0 | |
| OSV | PyPI | torch | < 2.10.0 | 2.10.0 |
| OSV | PyPI | torch | <= 2.6.0-NA |
References
- https://github.com/pytorch/pytorch/issues/149626 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://github.com/pytorch/pytorch/issues/149626#issue-2935860995 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://vuldb.com/?ctiid.302050 · Permissions Required, VDB Entry, WEB, REPORT
- https://vuldb.com/?id.302050 · Third Party Advisory, VDB Entry, WEB, ADVISORY
- https://vuldb.com/?submit.524212 · Third Party Advisory, VDB Entry, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-3001 · ADVISORY
- 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
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 31 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Mar 2025)