CVE-2025-32434 Details
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.
A remote command execution vulnerability has been identified in PyTorch versions through 2.5.1. The issue arises when loading a model with the 'torch.load' function using the 'weights_only=True' option. Despite the official documentation suggesting this method is safe, it has been demonstrated that it can still lead to remote command execution. This vulnerability has been patched in PyTorch version 2.6.0.
Users can upgrade to PyTorch version 2.6.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/12/msg00000.html | CVE | |
| https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation pytorch | < 2.6.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 1, 2025 | CVE Modified | CVE |
| May 28, 2025 | Initial Analysis | [email protected] |
| Apr 18, 2025 | New CVE Received | [email protected] |