CVE-2024-6031CWE-122

Tesla Model S oFono AT Command Heap-based Buffer Overflow Code Execution Vulnerability

High · published April 30, 2025

CVSS v3.0
7.8
EPSS
0%
Percentile
7.8
In the wild
Unconfirmed
What it is

Tesla Model S oFono AT Command Heap-based Buffer Overflow Code Execution Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected Tesla Model S vehicles. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.

The specific flaw exists within the parsing of responses from AT commands. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the device. Was ZDI-CAN-23198.

The record
Technical detail
CVSS v3.0
7.8 · HIGH
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00186 · 7.8th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2025-04-30T20:00Z
EPSS history
Timeline
  • 30 APR 20:00Z
    Tesla Model S oFono AT Command Heap-based Buffer Overflow Code Execution Vulnerability
    cvelistv5