Back to list

PyTorch: `torch.load` with `weights_only=True` leads to remote code execution — CVE-2025-32434

Date
Source
MSRC
Vendor
Microsoft
Threat
critical
CVSS
9.8

Summary

Advisory CVE-2025-32434. PyTorch: `torch.load` with `weights_only=True` leads to remote code execution Vendor: Microsoft. Source: MSRC. Threat: critical. CVSS 9.8. See the official advisory for details.

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Read the official source

Related advisories