Deserialization of Untrusted Data in MarcelRaschke:pytorch
CVE-2025-32434
- MarcelRaschke:pytorch
- pytorch
- torch
Summary
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 versions prior to 2.6.0-rc7, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using "torch.load" with "weights_only=True".
- LOW
- NETWORK
- NONE
- NONE
CWE-502 - Deserialization of Untrusted Data
Deserialization of untrusted data vulnerabilities enable an attacker to replace or manipulate a serialized object, replacing it with malicious data. When the object is deserialized at the victim's end the malicious data is able to compromise the victim’s system. The exploit can be devastating, its impact may range from privilege escalation, broken access control, or denial of service attacks to allowing unauthorized access to the application's internal code and logic which can compromise the entire system.
Advisory Timeline
- Published