CVE-2025-3001 json
PyTorch torch.lstm_cell memory corruption
published 2025-03-31 19 mo ago modified 2026-09-08 2 mo ago also BIT-pytorch-2025-3001 , EUVD-2025-8856 , GHSA-qfhq-4f3w-5fph , PYSEC-2025-195
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi torch 2.10.0
- bitnami pytorch 2.7.0
- pytorch Debian 14 2.12.0+dfsg2-1
debian advisories DEBIAN-CVE-2025-3001
- pytorch CBL-Mariner 2.0 2.0.0-12
- pytorch Azure Linux 3.0 2.2.2-10
azure linux advisories AZL-73178AZL-73180
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pytorch/pytorch/issues/149626#issue-2935860995 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| CNA | 3.0 | 5.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| CNA | 2.0 | 4.3 | AV:L/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | torch | <2.10.0 <=2.6.0-NA |
2.10.0 |
| bitnami | pytorch | >=2.6.0, <2.7.0 |
2.7.0 |
Affected products
- n/a PyTorch
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/pytorch/pytorch/commit/999d94b5ede5f4ec111ba7dd144129e2c2725b03
web
-
github.com
/pytorch/pytorch/issues/149626#issue-2935860995
exploit, issue-tracking, web, vendor-advisory, advisory, report
-
github.com
/pytorch/pytorch/issues/149626
issue-tracking, web, vendor-advisory, advisory, report
-
vuldb.com
/?id.302050
vdb-entry, technical-description, web, third-party-advisory, advisory
-
vuldb.com
/?ctiid.302050
signature, permissions-required, web, vdb-entry, report
-
vuldb.com
/?submit.524212
third-party-advisory, web, vdb-entry, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-3001
advisory, web
-
github.com
/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-195.yaml
web
-
github.com
/pytorch/pytorch
package
-
github.com
/advisories/GHSA-qfhq-4f3w-5fph
advisory
Sources
- CVE List CVE-2025-3001
- GitHub Advisory GHSA-qfhq-4f3w-5fph
- NVD CVE-2025-3001
- OSV BIT-pytorch-2025-3001
- OSV PYSEC-2025-195
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.