7.8
Advisory Published
Advisory Published

ZDI-25-261: (Pwn2Own) Tesla Model S oFono AT Command Heap-based Buffer Overflow Code Execution Vulnerability

First published: Wed Apr 30 2025(Updated: )

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.

Affected SoftwareAffected VersionHow to fix
Tesla Model S Firmware

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of ZDI-25-261?

    The severity of ZDI-25-261 is classified as critical due to its potential to allow local attackers to execute arbitrary code on affected Tesla Model S vehicles.

  • How do I fix ZDI-25-261?

    To fix ZDI-25-261, Tesla owners should ensure their Model S firmware is updated to the latest version provided by Tesla that addresses this vulnerability.

  • Who is affected by ZDI-25-261?

    ZDI-25-261 affects Tesla Model S vehicles with the specific firmware that contains the vulnerability in the modem's response parsing.

  • What kind of attacker can exploit ZDI-25-261?

    ZDI-25-261 can be exploited by local attackers who have gained the ability to execute code on the target modem of the affected Tesla Model S.

  • What are the implications of ZDI-25-261?

    The implications of ZDI-25-261 include potential unauthorized access to vehicle systems, leading to severe security and safety risks.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203