Heap-based buffer overflow in Tesla Model S
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Tesla | Model S | 2023.44.29 | — | No fix listed | CNA |
- Model S VendorTesla Affected 2023.44.29 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-6031
- 2026-10-03 Alias added: GHSA-54jr-7228-3w94
References
Advisory 1
More Tesla Model S Firmware vulnerabilities
- TI-2024-05590 OS command injection in Tesla Model S CVSS 3.0HIGH 7.8
- TI-2024-12955 Improper input validation in Tesla Model S CVSS 3.0HIGH 7.8
- TI-2022-10816 Certain Tesla vehicles through 2022-03-26 allow attackers to open the charging port via a… CVSS 3.1HIGH 7.2
- TI-2024-05588 Tesla Model S oFono Unnecessary Privileges Sandbox Escape Vulnerability CVSS 3.0HIGH 7.0
- TI-2022-02854 Time-of-check time-of-use race condition in Tesla Model 3 CVSS 3.1MEDIUM 6.4
- TI-2024-05587 Time-of-check time-of-use race condition in Tesla Model S CVSS 3.0MEDIUM 5.0
Sources
- CVE-2024-6031 · CVE Program
- CVE-2024-6031 · NVD
- FIRST EPSS
- GHSA-54jr-7228-3w94 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences