CVE-2024-6031: Tesla Model S oFono AT Command Heap-based Buffer Overflow Code Execution Vulnerability
CVE-2024-6031 is a high-severity flaw (CVSS 7.8) affecting model s firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 len
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 92%) |
| CISA exploited list | No |
| Weakness | CWE-122 |
| Published | 2025-04-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-6031?
model s firmware: upgrade to 2024.2. Exact commands for each OS are on this page.
Is CVE-2024-6031 being exploited?
CVE-2024-6031 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-6031 affect?
CVE-2024-6031 affects model s firmware. Severity is high (CVSS 7.8). 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 exe
How urgent is CVE-2024-6031?
Priority 29/100. High severity
Software pages
Tesla and automotive vulnerabilities
Related CVEs
- CVE-2024-6032 HIGH 7.8 UPGRADE Tesla Model S Iris Modem ql_atfwd Command Injection Code Execution Vulnerability
- CVE-2024-6030 HIGH 7.0 UPGRADE Tesla Model S oFono Unnecessary Privileges Sandbox Escape Vulnerability
- CVE-2024-6029 MEDIUM 5.0 UPGRADE Tesla Model S Iris Modem Race Condition Firewall Bypass Vulnerability
- CVE-2024-13943 HIGH 7.8 UPGRADE Tesla Model S Iris Modem QCMAP_ConnectionManager Improper Input Validation Sandbox Escape Vulnerability