Every CVE Search/ Get API key

CVE-2024-7538

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability

7.8 HighFix available

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT 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. Was ZDI-CAN-23190.

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
High
Integrity
High
Availability
High

Exploit likelihood

0.29%Up 0.2 points since Aug 6, 2024
90%50%10%1%

What each source reports

CVE List Score used 7.8

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT 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. Was ZDI-CAN-23190.

Record
CVE-2024-7538
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-121
Updated
2026-11-02
EUVDEUVD-2024-48445 7.8

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT 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. Was ZDI-CAN-23190.

Record
EUVD-2024-48445
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-jchw-pqx7-w4qj 7.8

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability. This...

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT 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. Was ZDI-CAN-23190.

Record
GHSA-jchw-pqx7-w4qj
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-121, CWE-787
Updated
2026-11-02
NVD 7.8

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT 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. Was ZDI-CAN-23190.

Record
CVE-2024-7538
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-121, CWE-787
Updated
2026-11-02
OSV 7.8

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT 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. Was ZDI-CAN-23190.

Record
CVE-2024-7538
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-121
Updated
2026-11-03
OSVDEBIAN-CVE-2024-7538 7.8

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT 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. Was ZDI-CAN-23190.

Record
DEBIAN-CVE-2024-7538
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2024-7538 7.8

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT 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. Was ZDI-CAN-23190.

Record
UBUNTU-CVE-2024-7538
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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
OSVUSN-8178-1 No score

ofono vulnerabilities

It was discovered that oFono incorrectly handled crafted responses from AT commands. An attacker could possibly use this issue to crash the program, resulting in a denial of service or arbitrary code execution. (CVE-2024-7538, CVE-2024-7539, CVE-2024-7540, CVE-2024-7541, CVE-2024-7542)

Lucas Leong discovered that oFono incorrectly handled crafted input. An attacker could possibly use this issue to crash the program, resulting in a denial of service or arbitrary code execution. (CVE-2024-7543, CVE-2024-7544, CVE-2024-7545, CVE-2024-7546, CVE-2024-7547)

Record
USN-8178-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ofono
Debian:12
All versions, plus listed versions
1.31-31.31-42.10-12.11-12.12-1
Show 9 moreShow less
2.14-12.16-12.16-22.16-32.16-42.16-52.18-12.18-22.19-1
None known
ofono
Debian:13
before 2.14-1
2.14-1
ofono
Debian:14
before 2.14-1
2.14-1
ofono
Ubuntu: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
ofono
Ubuntu: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
ofono
Ubuntu: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
ofono
Ubuntu: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
ofono
Ubuntu: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
ofono
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 2.19-3.1
2.19-3.1
ofono
openSUSE:Leap 16.0
From an advisory covering 16 CVEs
before 2.19-bp160.1.1
2.19-bp160.1.1

History

History
RecordedChangedSources
affected, factsOSV
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-7538 is a high vulnerability (CVSS 7.8) 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.29%, the 21st percentile. Fixed in ofono 2.14-1.

References

Show 43 moreShow less
MoveEnter Open