# CVE-2024-7540: ofono: oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability

CVE-2024-7540 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: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-7540
- Priority: Routine
- CVSS: 3.3 (low)
- EPSS: 0.0030
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 5, 2024

## Description

oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23307.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ofono Debian 13.5 (trixie) | 2.14-1 | [DEBIAN-CVE-2024-7540](https://patchblox.com/security/data/fix/linux/debian-cve-2024-7540.md) | Aug 6, 2024 |
| Linux | ofono Debian 14 | 2.14-1 | [DEBIAN-CVE-2024-7540](https://patchblox.com/security/data/fix/linux/debian-cve-2024-7540.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-08T00:53:09Z 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.
