CVE-2025-32434: Linuxfoundation Pytorch
Critical severity, CVSS 9.8. EPSS: 2.6% probability of exploitation activity in the next 30 days.
PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch.load with weights_only=True. This issue has been patched in version 2.6.0.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Linuxfoundation Pytorch, before 2.6.0: fixed in 2.6.0
Affected products
- Linuxfoundation Pytorch: before 2.6.0 (fixed in 2.6.0)
Affected packages
- torch (PyPI)
Published 2025-04-18. Last modified 2026-06-17.