Advisory Details

December 10th, 2025

(Pwn2Own) oFono CUSD Stack-based Buffer Overflow Code Execution Vulnerability

ZDI-25-1069
ZDI-CAN-23193

CVE ID CVE-2024-7539
CVSS SCORE 7.8, AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS oFono
AFFECTED PRODUCTS oFono
VULNERABILITY DETAILS

This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. 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+CUSD commands. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.

ADDITIONAL DETAILS oFono has issued an update to correct this vulnerability. More details can be found at:
https://lore.kernel.org/ofono/20241217093207.20636-3-absicsz@gmail.com/
DISCLOSURE TIMELINE
  • 2024-02-29 - Vulnerability reported to vendor
  • 2025-12-10 - Coordinated public release of advisory
  • 2025-12-10 - Advisory Updated
CREDIT Synacktiv (@Synacktiv)
BACK TO ADVISORIES