Deserialization of Untrusted Data in PyTorch - CVE-2025-32434
Published: May 21, 2025 / Updated: April 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to insecure input validation when processing serialized data when loading a model using torch.load with weights_only=True. A remote attacker can trick the victim into loading a specially crafted model and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Python for Scientific Computing
vLLM
Elasticsearch
Maximo Application Suite - Visual Inspection Component
Maximo Application Suite - Monitor Component
How to mitigate CVE-2025-32434
vLLM - update to 0.8.0
Python for Scientific Computing - addressed in versions 3.2.3, 4.2.3
Elasticsearch - addressed in versions 8.19.8, 9.1.8
Maximo Application Suite - Visual Inspection Component - addressed in versions 9.0.22, 9.1.20, 9.2.1
Maximo Application Suite - Monitor Component - addressed in versions 8.10.25, 8.11.23, 9.0.15, 9.1.5
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Remote code execution in PyTorch
- Splunk Python for Scientific Computing update for third-party components
- IBM Maximo Application Suite - Monitor Component update for PyTorch
- Elasticsearch update for PyTorch
- Multiple vulnerabilities in vLLM
- IBM Maximo Application Suite - Visual Inspection Component update for PyTorch