ExecuTorch vulnerable to Heap-based Buffer Overflow attack
Date: 2025-07
Affected: swift/github.com/pytorch/executorch, maven/org.pytorch:executorch-android, pip/executorch
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2025-30402
CWE: CWE-122
CVSS: 8.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H)

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


Mitigations:

Architectural layers (MAESTRO):