CVE-2025-32434
PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
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.
INFO
Published Date :
April 18, 2025, 4:15 p.m.
Last Modified :
June 17, 2026, 9:11 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 4.0 | CRITICAL | [email protected] |
Solution
- Update PyTorch to version 2.6.0.
- Verify the updated PyTorch version.
Public PoC/Exploit Available at Github
CVE-2025-32434 has a 149 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-32434.
| URL | Resource |
|---|---|
| https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6 | Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2025/12/msg00000.html |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-32434 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-32434
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python HTML CSS JavaScript
This repository contains an AI level generator for the Super Mario game. I started from a Pygame implementation of Super Mario from a public Github repository.
Python
This is part of the repository VEXMLM
Python Shell
Otus HW10
Dockerfile Python Jupyter Notebook
Manga translator and translator as note
JavaScript CSS HTML
Retrieval alto ≠ razonamiento composicional: evaluación de CLIP en Winoground (MCC225)
Dockerfile Makefile Python Jupyter Notebook HTML TeX
None
Python Jupyter Notebook
Real-time multi-camera retail analytics — YOLO11 + ByteTrack people tracking, zone-based footfall/queue/dwell analytics, live MJPEG previews with scoped-token auth, FastAPI + React dashboard, Dockerized with CI.
Makefile Python Mako Dockerfile HTML JavaScript TypeScript CSS
None
Dockerfile Makefile Python
Transcribe and translate audio to text using WhisperX and DeepL.
Jupyter Notebook
None
Python
None
Python
AI Translator is a microservices-based lifecycle automation platform for multilingual translation models. Orchestrated via FastAPI and Celery, it spans raw text ingestion, cryptographic deduplication, hardware lock coordination, parameter-efficient fine-tuning (LoRA/QLoRA), and isolated validation scoring.
Dockerfile Python HTML JavaScript CSS Batchfile
None
HTML Python Jupyter Notebook
An AI-powered image search system that transforms visual content into searchable mathematical vectors, allowing you to retrieve images based on their semantic similarity to either text descriptions or other images.
Python Dockerfile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-32434 vulnerability anywhere in the article.
-
The Cyber Express
Hive0163 Ransomware Operators Use AI-Generated Slopoly Malware
Researchers have identified a suspected case of AI-generated malware being used during a ransomware attack. The malware, which analysts dubbed “Slopoly,” was linked to a financially motivated cybercri ... Read more
-
Daily CyberSecurity
Safety Broken: PyTorch “Safe” Mode Bypassed by Critical RCE Flaw
The development team behind PyTorch, the backbone of modern deep learning and AI research, has patched a high-severity vulnerability that breaks the trust of its most security-conscious feature. Track ... Read more
-
Kaspersky
Update PyTorch ASAP | Kaspersky official blog
vulnerability Researchers have found a way to exploit a security mechanism in a popular machine-learning framework. April 22, 2025 A researcher has discovered a vulnerability in PyTorch – an open-sour ... Read more
-
The Cyber Express
Critical Security Vulnerability Found in WordPress Plugin InstaWP Connect
The Moroccan authorities have warned users of a critical vulnerability in the popular WordPress plugin, InstaWP Connect. The General Directorate of Information Systems Security (DGSSI), which operates ... Read more
-
The Cyber Express
Senators Peters and Rounds Lead Bipartisan Push to Extend Critical Cybersecurity Information Sharing Protections
U.S. Senators Gary Peters (D-MI) and Mike Rounds (R-SD) have introduced a bipartisan bill to extend vital provisions from the Cybersecurity Information Sharing Act of 2015. The new legislation, titled ... Read more
-
Daily CyberSecurity
Cellebrite Android Zero-Day Exploit PoC Released: CVE-2024-53104
A security researcher published a proof-of-concept exploit code for an Android zero-day exploit chain developed by Cellebrite to unlock the device of a student activist in the country and attempt to i ... Read more
-
Daily CyberSecurity
Critical PyTorch Vulnerability CVE-2025-32434 Allows Remote Code Execution
A critical vulnerability has been unearthed in PyTorch, one of the most beloved deep learning frameworks out there. Security researcher Ji’an Zhou has identified a critical Remote Command Execution (R ... Read more
The following table lists the changes that have been made to the
CVE-2025-32434 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'pytorch', 'product': 'pytorch', 'versions': [{'status': 'affected', 'version': '< 2.6.0'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-32434', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2025-04-18T16:06:40.000632Z'} -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Dec. 01, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/12/msg00000.html -
Initial Analysis by [email protected]
May. 28, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:* versions up to (excluding) 2.6.0 Added Reference Type GitHub, Inc.: https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6 Types: Vendor Advisory -
New CVE Received by [email protected]
Apr. 18, 2025
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-502 Added Reference https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6