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.
History

Fri, 18 Apr 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 18 Apr 2025 16:00:00 +0000

Type Values Removed Values Added
Description 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.
Title PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
Weaknesses CWE-502
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-18T16:06:51.966Z

Reserved: 2025-04-08T10:54:58.368Z

Link: CVE-2025-32434

cve-icon Vulnrichment

Updated: 2025-04-18T16:06:43.402Z

cve-icon NVD

Status : Received

Published: 2025-04-18T16:15:23.183

Modified: 2025-04-18T16:15:23.183

Link: CVE-2025-32434

cve-icon Redhat

No data.