PoC Monitor
← All CVEs
CVE-2025-32434published 18 Apr 2025 15:48 UTCData: JSON · API

PyTorch

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

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.

First public PoC 209 daysafter publication · 13 Nov 2025
Public PoCs22 on GitHub
CVSS9.8critical · scored by NVD · CWE-502
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

pytorch pytorch
  • < 2.6.0

Fixed in 2.6.0

Mitigation

Upgrade pytorch to 2.6.0 or later.

References

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180+210CVE published18 Apr 2025 · t = 0First public PoC13 Nov 2025 · t+209d

First public PoC 209 days after publication; not in CISA KEV. First PoC: cyhe50/cve-2025-32434-poc (created 13 Nov 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs · 1 pending · 1 informational · 1 suspicious or fake

PoCs 2
RepositoryCreatedStarsAssessment
cyhe50/cve-2025-32434-poc 13 Nov 2025 +209 d 0 PoC
AlexanderGumeniuk/CVE-2025-32434 30 Jun 2026 +1.2 y 2 PoC
Pending 1
RepositoryCreatedStarsAssessment
2h3ph3rd/CVE-2025-32434 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 1
RepositoryCreatedStarsAssessment
Soildworks/Agentic-CLIP-Benchmark 8 Mar 2026 +324 d 0 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Suspicious or fake 1
RepositoryCreatedStarsAssessment
B1tBit/CVE-2025-32434-exploit 15 Dec 2025 +241 d 1 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.