Heap-based buffer overflow in Tesla Model S - CVE-2024-6031

 

Heap-based buffer overflow in Tesla Model S - CVE-2024-6031

Published: May 2, 2025


Vulnerability identifier: #VU108126
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-6031
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the parsing of responses from AT commands. A local user can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Tesla Model S

How to mitigate CVE-2024-6031

Install updates from vendor's website.

Tesla Model S - update to 2024.2

External References

Related Security Bulletins