9.8

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

Modified
AliasesGHSA-53q9-r3pm-6pq6BIT-pytorch-2025-32434PYSEC-2025-41
Published 18-04-2025Last modified 01-12-2025

Vulnerability summary

CVE-2025-32434 is a critical (CVSS 9.8) Deserialization of Untrusted Data vulnerability in linuxfoundation pytorch. EPSS estimates a 2.37% chance of exploitation in the next 30 days, higher than 84.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
2.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 18-04-2025
    PublishedVulnerability first disclosed.
  2. 01-12-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

2.37%

Chance of exploitation in the next 30 days

Percentile

84%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard1 product
  • py3.10-torch-2.3-cuda-12.4All versions (No fix recorded)
Debian1 product
  • pytorch< 1.7.1-7+deb11u1 | All versions (No fix recorded) | < 2.6.0+dfsg-1
Linuxfoundation1 product
PyPI1 product
  • torch< 2.6.0
Pytorch1 product

5 vendors · 5 products

References

8 links