CriticalVulnerability
CVE-2025-32434: PyTorch remote command execution when loading models with torch.load
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-32434
- Published
- Record updated
- Affected
- torch < 2.6.0
- Fixed in
- 2.6.0
- released January 29, 2025, 79 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 2.4%
Summary
CVE-2025-32434 affects PyTorch version 2.5.1 and prior. Loading a model with torch.load using weights_only=True allows Remote Command Execution (RCE), classified as CWE-502 (Deserialization of Untrusted Data). GitHub, Inc. scored it CVSS 4.0 9.3 CRITICAL, with no NVD assessment yet.
Mitigation
This issue has been patched in version 2.6.0.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- torchPyPINo LLM dependency detected · 200 tracked dependents
Related items
- MediumResearchers Uncover Prompt Adware Hidden in OpenAI Codex Jailbreak ToolkitSimilar attack · The Hacker News
- InfoTop agent skill security resources — November 2026Similar attack · Adversa AI Blog
- HighCVE-2026-118627: MLflow SHAP load_explainer untrusted deserialization enables code executionSimilar attack · NVD/CVE Database
- HighCVE-2026-118623: MLflow PickleEvaluationArtifact remote code execution via untrusted pickleSimilar attack · NVD/CVE Database
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSimilar attack · NVD/CVE Database