CVE-2024-7540
oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
3.3
oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability
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.
- Record
CVE-2024-7540- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-457
- Updated
- 2026-11-02
EUVDEUVD-2024-48447
3.3
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.
- Record
EUVD-2024-48447- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xj99-h8qh-p35c
3.3
oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This...
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.
- Record
GHSA-xj99-h8qh-p35c- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-457, CWE-908
- Updated
- 2026-11-02
NVD
3.3
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.
- Record
CVE-2024-7540- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-457, CWE-908
- Updated
- 2026-11-02
OSV
3.3
oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability
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.
- Record
CVE-2024-7540- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-457
- Updated
- 2026-11-03
OSVDEBIAN-CVE-2024-7540
3.3
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.
- Record
DEBIAN-CVE-2024-7540- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-7540
3.3
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.
- Record
UBUNTU-CVE-2024-7540- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11095-1 No score
ofono-2.19-3.1 on GA media
These are all security issues fixed in the ofono-2.19-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11095-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21154-1 No score
Security update for ofono
This update for ofono fixes the following issues:
Changes in ofono:
-
Reference the tracking bugs for the SMS/STK/USSD decoder security fixes applied upstream across the 2.14-2.17 updates:
- SMS decoder stack buffer overflows: CVE-2023-2794 (boo#1218292), CVE-2023-4232 (boo#1218293), CVE-2023-4233 (boo#1218294), CVE-2023-4234 (boo#1218295), CVE-2023-4235 (boo#1218296)
- SMS PDU / message-list parsing overflows and OOB read: CVE-2024-7537 (boo#1228903), CVE-2024-7547 (boo#1228917)
- AT-command / USSD response parsing overflows: CVE-2024-7538 (boo#1228904), CVE-2024-7539 (boo#1228905)
- Uninitialized-memory information disclosure: CVE-2024-7540 (boo#1228906), CVE-2024-7541 (boo#1228907), CVE-2024-7542 (boo#1228908)
- STK command PDU heap overflows: CVE-2024-7543 (boo#1228910), CVE-2024-7544 (boo#1228913), CVE-2024-7545 (boo#1228914), CVE-2024-7546 (boo#1228916)
-
Update to version 2.19
- Add support for PPP reset workaround for SIM7100 modem.
- Add support for Qualcomm RAW-IP only devices.
-
Update to version 2.18
- Fix issue with QMI and handling SMS message acknowledgement.
- Fix issue with handling SIM7100 modem ready detection.
- Add support for forbidden operator list.
-
Update to version 2.17
- Fix issue with SMS and possible buffer overflow.
-
Update to version 2.16
- Add support for QMI service request rate limiting.
-
Update to version 2.15
- Fix issue with SMS and uninitialized buffers.
- Fix issue with USSD and uninitialized buffers.
- Add support for the Test Anything Protocol.
-
Update to version 2.14
- Fix issue with STK and buffer length checks.
- Fix issue with SMS and buffer length checks.
- Fix issue with QMI and handling RAT detection.
- Fix issue with QMI and handling call forwarding.
- Add support for handling MHI network interfaces.
-
Update to version 2.13
- Add support for handling QMI PIN and Lock methods.
- Add support for handling QMI WWAN interfaces.
- Add support for handling RMNet interfaces.
-
Update to version 2.12
- Fix issue with access technology reporting.
- Fix issue with detecting Phonet devices.
-
Update to version 2.11
- Add support for SIMCom A7672E-FASE modem.
- Add support for Quectel EG916Q-GL modem.
- Record
openSUSE-SU-2026:21154-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ofonoDebian:12 |
All versions, plus listed versions 1.31-31.31-42.10-12.11-12.12-1 Show 9 moreShow less2.14-12.16-12.16-22.16-32.16-42.16-52.18-12.18-22.19-1 |
None known |
ofonoDebian:13 |
before 2.14-1 | 2.14-1 |
ofonoDebian:14 |
before 2.14-1 | 2.14-1 |
ofonoUbuntu:Pro:16.04:LTS |
before 1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm3, plus listed versions 1.17.bzr6904+15.10.20150928.1-0ubuntu11.17.bzr6906+16.04.20151119-0ubuntu11.17.bzr6908+16.04.20151203-0ubuntu11.17.bzr6910+16.04.20160115.3-0ubuntu11.17.bzr6912+16.04.20160314.3-0ubuntu11.17.bzr6912+16.04.20160314.3-0ubuntu1+esm11.17.bzr6912+16.04.20160314.3-0ubuntu1+esm2 |
1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm3 |
ofonoUbuntu:Pro:18.04:LTS |
before 1.21-1ubuntu1+esm3, plus listed versions 1.17.bzr6921+16.10.20160819.6-0ubuntu11.21-1ubuntu11.21-1ubuntu1+esm11.21-1ubuntu1+esm2 |
1.21-1ubuntu1+esm3 |
ofonoUbuntu:Pro:20.04:LTS |
before 1.31-2ubuntu1+esm3, plus listed versions 1.21-1ubuntu11.31-2ubuntu11.31-2ubuntu1+esm11.31-2ubuntu1+esm2 |
1.31-2ubuntu1+esm3 |
ofonoUbuntu:Pro:22.04:LTS |
before 1.31-3ubuntu1.2+esm1, plus listed versions 1.31-3ubuntu11.31-3ubuntu1.11.31-3ubuntu1.2 |
1.31-3ubuntu1.2+esm1 |
ofonoUbuntu:Pro:24.04:LTS |
before 1.31-3ubuntu3.24.04.2+esm1, plus listed versions 1.31-3ubuntu11.31-3ubuntu21.31-3ubuntu31.31-3ubuntu3.24.04.11.31-3ubuntu3.24.04.2 |
1.31-3ubuntu3.24.04.2+esm1 |
ofonoopenSUSE:Tumbleweed From an advisory covering 11 CVEs |
before 2.19-3.1 | 2.19-3.1 |
ofonoopenSUSE:Leap 16.0 From an advisory covering 16 CVEs |
before 2.19-bp160.1.1 | 2.19-bp160.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-7540 is a low vulnerability (CVSS 3.3) in Ofono, published August 5, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 22nd percentile. Fixed in ofono 2.14-1.
References
zerodayinitiative.com/advisories/ZDI-24-1080
nvd.nist.gov/vuln/detail/CVE-2024-7540
github.com/advisories/GHSA-xj99-h8qh-p35c
github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7540.json
security-tracker.debian.org/tracker/CVE-2024-7540
ubuntu.com/security/CVE-2024-7540
Show 38 moreShow less
cve.org/CVERecord?id=CVE-2024-7540
lore.kernel.org/ofono/[email protected]
lore.kernel.org/ofono/[email protected]
git.kernel.org/pub/scm/network/ofono/ofono.git/commit?id=1e2a768445aecfa0a0e9c788651a9205cfd3744f
git.kernel.org/pub/scm/network/ofono/ofono.git/commit?id=29ff6334b492504ace101be748b256e6953d2c2f
ubuntu.com/security/notices/USN-8178-1
suse.com/security/cve/CVE-2023-2794
suse.com/security/cve/CVE-2023-4232
suse.com/security/cve/CVE-2023-4234
suse.com/security/cve/CVE-2024-7537
suse.com/security/cve/CVE-2024-7538
suse.com/security/cve/CVE-2024-7539
suse.com/security/cve/CVE-2024-7540
suse.com/security/cve/CVE-2024-7541
suse.com/security/cve/CVE-2024-7543
suse.com/security/cve/CVE-2024-7544
suse.com/security/cve/CVE-2024-7546
bugzilla.suse.com/1218292
bugzilla.suse.com/1218293
bugzilla.suse.com/1218294
bugzilla.suse.com/1218295
bugzilla.suse.com/1218296
bugzilla.suse.com/1228903
bugzilla.suse.com/1228904
bugzilla.suse.com/1228905
bugzilla.suse.com/1228906
bugzilla.suse.com/1228907
bugzilla.suse.com/1228908
bugzilla.suse.com/1228910
bugzilla.suse.com/1228913
bugzilla.suse.com/1228914
bugzilla.suse.com/1228916
bugzilla.suse.com/1228917
suse.com/security/cve/CVE-2023-4233
suse.com/security/cve/CVE-2023-4235
suse.com/security/cve/CVE-2024-7542
suse.com/security/cve/CVE-2024-7545
suse.com/security/cve/CVE-2024-7547