PyTorch ExecuTorch heap-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in PyTorch. This affects the function ExecuTorch. The manipulation leads to heap-based overflow. This vulnerability is referenced as CVE-2025-30402. The attack can only be performed from a local environment. No exploit is available. It is recommended to apply a patch to fix this issue.

Detailsinfo

A vulnerability was found in PyTorch (version now known) and classified as critical. This issue affects the function ExecuTorch. The manipulation with an unknown input leads to a heap-based overflow vulnerability. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. The summary by CVE is:

A heap-buffer-overflow vulnerability in the loading of ExecuTorch methods can cause the runtime to crash and potentially result in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit 93b1a0c15f7eda49b2bc46b5b4c49557b4e9810f

It is possible to read the advisory at facebook.com. The identification of this vulnerability is CVE-2025-30402 since 03/21/2025. The exploitation is known to be easy. Attacking locally is a requirement. Technical details of the vulnerability are known, but there is no available exploit.

Applying the patch 93b1a0c15f7eda49b2bc46b5b4c49557b4e9810f is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the databases at EUVD (EUVD-2025-21177) and CERT Bund (WID-SEC-2025-1544). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Open Source PyTorch

Productinfo

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: 93b1a0c15f7eda49b2bc46b5b4c49557b4e9810f

Timelineinfo

03/21/2025 CVE reserved
07/11/2025 +111 days Advisory disclosed
07/11/2025 +0 days VulDB entry created
07/14/2025 +3 days VulDB entry last update

Sourcesinfo

Advisory: facebook.com
Status: Confirmed

CVE: CVE-2025-30402 (🔒)
GCVE (CVE): GCVE-0-2025-30402
GCVE (VulDB): GCVE-100-316175
EUVD: 🔒
CERT Bund: WID-SEC-2025-1544 - PyTorch (ExecuTorch): Schwachstelle ermöglicht Denial of Service und Codeausführung

Entryinfo

Created: 07/11/2025 20:33
Updated: 07/14/2025 20:29
Changes: 07/11/2025 20:33 (54), 07/11/2025 21:34 (1), 07/14/2025 20:29 (7)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!