Skip to main content
VulnerabilityPublished Updated

CVE-2025-32434: pytorch · Deserialization of Untrusted Data

Affects pytorchSource GCVE Database

0
Compare

Not known to be exploited · CVSS 9.3 Critical : upgrade to 2.6.0 as a priority.

Data as of 20 Nov 2026, 01:36 UTC

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.09.3
Patch
Available – fixed in 2.6.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Apr 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.

What to do

Upgrade pytorch to 2.6.0.

Affected software

ProductAffectedFixed in
pytorch pytorchAffected
  • <2.6.0
Fixed in
  • 2.6.0

AI-suggested

Upgrade PyTorch to version 2.6.0 or later, where this vulnerability is fixed. No other mitigations are specified or required once the patch is applied.

Description

A critical Remote Command Execution (RCE) vulnerability (CWE-502) exists in PyTorch versions 2.5.1 and earlier when loading models with torch.load using the weights_only=True parameter. This flaw allows deserialization of untrusted data, potentially enabling attackers to execute arbitrary commands. The issue is fixed in PyTorch version 2.6.0.

References

Community reviews

Loading reviews…