# CVE-2024-7545: ofono: oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability

CVE-2024-7545 is fixed in 2 products on 1 platform, first by ofono 1.21-1ubuntu1+esm3, released August 5, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-7545
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0029
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 5, 2024

## Description

oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. 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 STK command PDUs. 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 service account. Was ZDI-CAN-23458.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ofono Debian 13.5 (trixie) | 2.14-1 | [DEBIAN-CVE-2024-7545](https://patchblox.com/security/data/fix/linux/debian-cve-2024-7545.md) | Aug 6, 2024 |
| Linux | ofono Debian 14 | 2.14-1 | [DEBIAN-CVE-2024-7545](https://patchblox.com/security/data/fix/linux/debian-cve-2024-7545.md) | Aug 6, 2024 |
| Linux | ofono Ubuntu 18.04.6 LTS (bionic) | 1.21-1ubuntu1+esm3 | [ofono 1.21-1ubuntu1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ofono-1.21-1ubuntu1-esm3.md) | Aug 5, 2024 |
| Linux | ofono Ubuntu 20.04 LTS (focal) | 1.31-2ubuntu1+esm3 | [ofono 1.31-2ubuntu1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ofono-1.31-2ubuntu1-esm3.md) | Aug 5, 2024 |
| Linux | ofono Ubuntu 22.04.1 LTS (jammy) | 1.31-3ubuntu1.2+esm1 | [ofono 1.31-3ubuntu1.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ofono-1.31-3ubuntu1.2-esm1.md) | Aug 5, 2024 |
| Linux | ofono Ubuntu 24.04.5 LTS (noble) | 1.31-3ubuntu3.24.04.2+esm1 | [ofono 1.31-3ubuntu3.24.04.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ofono-1.31-3ubuntu3.24.04.2-esm1.md) | Aug 5, 2024 |
| Linux | ofono opensuse-leap 16.0 | 2.19-bp160.1.1 | [OPENSUSE-SU-2026:21154-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21154-1.md) | Jun 23, 2026 |
| Linux | ofono-scripts Ubuntu 18.04.6 LTS (bionic) | 1.21-1ubuntu1+esm3 | [ofono-scripts 1.21-1ubuntu1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ofono-scripts-1.21-1ubuntu1-esm3.md) | Aug 5, 2024 |
| Linux | ofono-scripts Ubuntu 20.04 LTS (focal) | 1.31-2ubuntu1+esm3 | [ofono-scripts 1.31-2ubuntu1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ofono-scripts-1.31-2ubuntu1-esm3.md) | Aug 5, 2024 |
| Linux | ofono-scripts Ubuntu 22.04.1 LTS (jammy) | 1.31-3ubuntu1.2+esm1 | [ofono-scripts 1.31-3ubuntu1.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ofono-scripts-1.31-3ubuntu1.2-esm1.md) | Aug 5, 2024 |
| Linux | ofono-scripts Ubuntu 24.04.5 LTS (noble) | 1.31-3ubuntu3.24.04.2+esm1 | [ofono-scripts 1.31-3ubuntu3.24.04.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ofono-scripts-1.31-3ubuntu3.24.04.2-esm1.md) | Aug 5, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
