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.
Metrics
Affected Vendors & Products
References
History
Wed, 28 May 2025 13:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Linuxfoundation
Linuxfoundation pytorch |
|
CPEs | cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:* | |
Vendors & Products |
Linuxfoundation
Linuxfoundation pytorch |
|
Metrics |
cvssV3_1
|
Fri, 18 Apr 2025 16:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
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
|

Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-04-18T16:06:51.966Z
Reserved: 2025-04-08T10:54:58.368Z
Link: CVE-2025-32434

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

Status : Analyzed
Published: 2025-04-18T16:15:23.183
Modified: 2025-05-28T13:14:20.750
Link: CVE-2025-32434

No data.