torch
Affected
- introduced
0, fixed2.10.0(ecosystem)
Fixed versions
2.10.0
Fix
- Fixed version
2.10.0pip install --upgrade torch==2.10.0
Advisory
Also known as: BIT-pytorch-2025-3001, CVE-2025-3001, PYSEC-2025-195
PyTorch is vulnerable to memory corruption through its torch.lstm_cell function
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.
Low Basis: The source's own band: LOW
0, fixed 2.10.0 (ecosystem)2.10.0
2.10.0pip install --upgrade torch==2.10.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0