—
PYSEC-2025-195
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / torch
Introduced in:
0 No fixed version published yet for torch (pip). Pin to a known-safe version or switch to an alternative.
References
- https://vuldb.com/?id.302050 [ADVISORY]
- https://vuldb.com/?submit.524212 [ADVISORY]
- https://github.com/pytorch/pytorch/issues/149626 [REPORT]
- https://github.com/pytorch/pytorch/issues/149626#issue-2935860995 [REPORT]
- https://vuldb.com/?ctiid.302050 [REPORT]