CVE-2025-3001
JSON

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 packageVersionsReported by
PyTorch2.6.0CVE List
torch (PyPI)before 2.10.0, up to 2.6.0-NAGitHub Advisory Database, PyPA Advisory Database
linuxfoundation pytorch2.6.0NVD
pytorch (Bitnami)from 2.6.0 before 2.7.0Bitnami Vulnerability Database

All scores

VulDB4.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
VulDB5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
VulDB5.3medium CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
VulDB4.3medium CVSS:2.0AV:L/AC:L/Au:S/C:P/I:P/A:P
GitHub5.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
GitHublow CVSS:4.0CVSS: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 DatabaseNot scored CVSS:4.0CVSS: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 Databasemedium rating

Classification

CWE-119

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.302050advisory, technical-description, third-party-advisory, vdb-entry, web
https://vuldb.com/?ctiid.302050permissions-required, report, signature, vdb-entry, web
https://vuldb.com/?submit.524212advisory, third-party-advisory, vdb-entry, web
https://github.com/pytorch/pytorch/issues/149626advisory, issue-tracking, report, vendor-advisory, web
https://github.com/pytorch/pytorch/issues/149626#issue-2935860995advisory, exploit, issue-tracking, report, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2025-3001advisory, web
https://github.com/pytorch/pytorch/commit/999d94b5ede5f4ec111ba7dd144129e2c2725b03web
https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-195.yamlweb
https://github.com/pytorch/pytorchpackage
https://github.com/advisories/GHSA-qfhq-4f3w-5fphadvisory

Sources

SourceRecordLicence
CVE ListCVE-2025-3001 changed 2025-03-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-qfhq-4f3w-5fph changed 2026-06-10CC-BY-4.0
NVDCVE-2025-3001 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2025-195 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-PYTORCH-2025-3001 changed 2026-09-08Apache-2.0