4.8medium
PyTorch torch.lstm_cell memory corruption
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-qfhq-4f3w-5fphBIT-PYTORCH-2025-3001PYSEC-2025-195
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PyTorch | 2.6.0 | CVE List |
| torch (PyPI) | before 2.10.0, up to 2.6.0-NA | GitHub Advisory Database, PyPA Advisory Database |
| linuxfoundation pytorch | 2.6.0 | NVD |
| pytorch (Bitnami) | from 2.6.0 before 2.7.0 | Bitnami Vulnerability Database |
All scores
| VulDB | 4.8medium 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 |
| VulDB | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 5.3medium CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 4.3medium CVSS:2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 5.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | low 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 |
| PyPA Advisory Database | Not scored 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 | medium rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
CVE List (de)
In PyTorch 2.6.0 wurde eine Schwachstelle entdeckt. Sie wurde als kritisch eingestuft. Es geht um die Funktion torch.lstm_cell. Dank Manipulation mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs hat dabei lokal zu erfolgen. Der Exploit steht zur öffentlichen Verfügung.
GitHub Advisory Database
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.
A patch is available through commit 999d94b.
NVD (es)
Se encontró una vulnerabilidad clasificada como crítica en PyTorch 2.6.0. Esta vulnerabilidad afecta a la función torch.lstm_cell. Su manipulación provoca corrupción de memoria. El ataque debe abordarse localmente. Se ha hecho público el exploit y puede que sea utilizado.
References
| 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://github.com/pytorch/pytorch/issues/149626#issue-2935860995 | advisory, exploit, 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-3001 changed 2025-03-31 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qfhq-4f3w-5fph changed 2026-06-10 | CC-BY-4.0 |
| NVD | CVE-2025-3001 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2025-195 changed 2026-07-13 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-PYTORCH-2025-3001 changed 2026-09-08 | Apache-2.0 |