CVE-2024-6031: (Pwn2Own) Tesla Model S oFono AT Command Heap-based Buffer Overflow Code Execution Vulnerability

Published Apr 30, 2025
·
Updated

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.

Affected Software

4 affected components
Tesla Model S
Tesla Model S
All of the following
Tesla Model S Firmware<2024.2
Tesla Model S

Event History

Apr 30, 2025
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Advisory Published
via ZDI·08:08 PM
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-6031?

CVE-2024-6031 has a high severity rating due to its potential for arbitrary code execution on affected Tesla Model S vehicles.

2

How do I fix CVE-2024-6031?

To mitigate CVE-2024-6031, ensure that your Tesla Model S firmware is updated to the latest version provided by Tesla.

3

Who is affected by CVE-2024-6031?

CVE-2024-6031 affects Tesla Model S vehicles that utilize the vulnerable oFono AT Command implementation.

4

What type of attack can exploit CVE-2024-6031?

CVE-2024-6031 can be exploited by local attackers with access to the target modem, allowing for execution of arbitrary code.

5

What is the impact of CVE-2024-6031?

The impact of CVE-2024-6031 includes the potential for local attackers to gain control of vehicle functions through code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203