NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-3001: PyTorch is vulnerable to memory corruption through its torch.lstm_cell function

lowCVSS 4.0 1.9 · 3.1 5.3GHSA-qfhq-4f3w-5fph

A vulnerability classified as critical was found in PyTorch 2.6.0. This vulnerability affects the function torch.lstmcell. 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.

Published Mar 31, 2025 · Updated Jun 10, 2026

Affected packages

torch

Ecosystem
PyPI
Affected
< 2.10.0
Fixed in
2.10.0
Check
pip show torch

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries