ExecuTorch Heap Buffer Overflow Vulnerability Allowing Runtime Crash and Potential Code Execution

Vulnerability

A heap-buffer-overflow vulnerability has been identified in ExecuTorch, specifically in the method loading process. This vulnerability can lead to a runtime crash and may allow for code execution or other negative effects. It affects ExecuTorch versions prior to commit 93b1a0c15f7eda49b2bc46b5b4c49557b4e9810f.

Impact

Exploitation of this vulnerability can cause a heap buffer overflow, leading to a runtime crash and potentially allowing for arbitrary code execution.

Reproduction

The vulnerability can be reproduced by loading ExecuTorch methods that include tensor sizes designed to cause an overflow when processed. This can be done by creating a 'TensorInfo' object with sizes that exceed the maximum limit, which will trigger the buffer overflow during method execution.

Remediation

Users can update to the latest version of ExecuTorch, which includes the necessary fix for this vulnerability.

Added: Jul 11, 2025, 6:34 PM
Updated: Jul 11, 2025, 7:33 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
7.4
remediation
0.0
relevance
0.2
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.