CVE-2025-3001: PyTorch torch.lstm_cell memory corruption
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.
Other sources
PyTorch torch.lstmcell memory corruption
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/torchto a version that resolves this vulnerability.Fixed in 2.10.0 - Upgrade
Upgrade
debian/pytorchto a version that resolves this vulnerability.Fixed in 2.12.0+dfsg2-1 - Upgrade
Upgrade
pytorch/pytorchto a version that resolves this vulnerability.Patch 999d94b5ede5f4ec111ba7dd144129e2c2725b03
Event History
Frequently Asked Questions
What is the severity of CVE-2025-3001?
CVE-2025-3001 is classified as a critical vulnerability.
What function is affected by CVE-2025-3001?
CVE-2025-3001 affects the torch.lstm_cell function in PyTorch.
What type of vulnerability is CVE-2025-3001?
CVE-2025-3001 is a memory corruption vulnerability.
How can CVE-2025-3001 be exploited?
CVE-2025-3001 can be exploited through local manipulation.
What version of PyTorch is affected by CVE-2025-3001?
CVE-2025-3001 affects PyTorch version 2.6.0.