CVE-2025-32434 - CVE House
Back to Database
Status published Critical CVE-2025-32434

PyTorch: `torch.load` with `weights_only=True` leads to remote code execution

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-32434

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

pytorch
Vulnerable Versions:
< 2.6.0

Timeline

Official Publish: April 18th, 2025
Last Modified: December 1st, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)