Every CVE Search/ Get API key

CVE-2023-4235

Ofono: sms decoder stack-based buffer overflow remote code execution vulnerability within the decode_deliver_report() function

8.1 HighFix available

A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver_report() function during the SMS decoding. It is assumed that the attack scenario is accessible from a compromised modem, a malicious base station, or just SMS. There is a bound check for this memcpy length in decode_submit(), but it was forgotten in decode_deliver_report().

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.94%Up 0.9 points since Apr 18, 2024
90%50%10%1%

What each source reports

CVE List Score used 8.1

Ofono: sms decoder stack-based buffer overflow remote code execution vulnerability within the decode_deliver_report() function

A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver_report() function during the SMS decoding. It is assumed that the attack scenario is accessible from a compromised modem, a malicious base station, or just SMS. There is a bound check for this memcpy length in decode_submit(), but it was forgotten in decode_deliver_report().

Record
CVE-2023-4235
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
EUVDEUVD-2023-54108 8.1

A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver_report() function during the SMS decoding. It is assumed that the attack scenario is accessible from a compromised modem, a malicious base station, or just SMS. There is a bound check for this memcpy length in decode_submit(), but it was forgotten in decode_deliver_report().

Record
EUVD-2023-54108
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-442g-7r67-9534 8.1

A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered...

A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver_report() function during the SMS decoding. It is assumed that the attack scenario is accessible from a compromised modem, a malicious base station, or just SMS. There is a bound check for this memcpy length in decode_submit(), but it was forgotten in decode_deliver_report().

Record
GHSA-442g-7r67-9534
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
NVD 8.1

A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver_report() function during the SMS decoding. It is assumed that the attack scenario is accessible from a compromised modem, a malicious base station, or just SMS. There is a bound check for this memcpy length in decode_submit(), but it was forgotten in decode_deliver_report().

Record
CVE-2023-4235
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
OSV 8.1

Ofono: sms decoder stack-based buffer overflow remote code execution vulnerability within the decode_deliver_report() function

A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver_report() function during the SMS decoding. It is assumed that the attack scenario is accessible from a compromised modem, a malicious base station, or just SMS. There is a bound check for this memcpy length in decode_submit(), but it was forgotten in decode_deliver_report().

Record
CVE-2023-4235
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-03
OSVDEBIAN-CVE-2023-4235 8.1

A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver_report() function during the SMS decoding. It is assumed that the attack scenario is accessible from a compromised modem, a malicious base station, or just SMS. There is a bound check for this memcpy length in decode_submit(), but it was forgotten in decode_deliver_report().

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

A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver_report() function during the SMS decoding. It is assumed that the attack scenario is accessible from a compromised modem, a malicious base station, or just SMS. There is a bound check for this memcpy length in decode_submit(), but it was forgotten in decode_deliver_report().

Record
UBUNTU-CVE-2023-4235
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2025-0063 No score

Updated ofono packages fix security vulnerabilities

Sms decoder stack-based buffer overflow remote code execution vulnerability within the decode_deliver() function. (CVE-2023-2794) Sms decoder stack-based buffer overflow remote code execution vulnerability within the decode_status_report() function. (CVE-2023-4232) Sms decoder stack-based buffer overflow remote code execution vulnerability within the sms_decode_address_field(). (CVE-2023-4233) Sms decoder stack-based buffer overflow remote code execution vulnerability within the decode_submit_report() function. (CVE-2023-4234) Sms decoder stack-based buffer overflow remote code execution vulnerability within the decode_deliver_report() function. (CVE-2023-4235)

Record
MGASA-2025-0063
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-7151-1 No score

ofono vulnerabilities

It was discovered that oFono incorrectly handled decoding SMS messages leading to a stack overflow. A remote attacker could potentially use this issue to cause a denial of service. (CVE-2023-4232, CVE-2023-4235)

Record
USN-7151-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
Mageia:9
From an advisory covering 5 CVEs
before 2.1-1.1.mga9
2.1-1.1.mga9
ofono
Ubuntu:Pro:16.04:LTS
before 1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm2, 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+esm1
1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm2
ofono
Ubuntu:Pro:18.04:LTS
before 1.21-1ubuntu1+esm2, plus listed versions
1.17.bzr6921+16.10.20160819.6-0ubuntu11.21-1ubuntu11.21-1ubuntu1+esm1
1.21-1ubuntu1+esm2
ofono
Ubuntu:Pro:20.04:LTS
before 1.31-2ubuntu1+esm2, plus listed versions
1.21-1ubuntu11.31-2ubuntu11.31-2ubuntu1+esm1
1.31-2ubuntu1+esm2
ofono
Ubuntu:22.04:LTS
before 1.31-3ubuntu1.2, plus listed versions
1.31-3ubuntu11.31-3ubuntu1.1
1.31-3ubuntu1.2
ofono
Ubuntu:24.04:LTS
before 1.31-3ubuntu3.24.04.2, plus listed versions
1.31-3ubuntu11.31-3ubuntu21.31-3ubuntu31.31-3ubuntu3.24.04.1
1.31-3ubuntu3.24.04.2
ofono
Ubuntu:25.10
All versions, plus listed versions
2.16-1ubuntu12.16-5ubuntu12.18-1ubuntu12.18-2ubuntu1
None known
Show 8 moreShow less
Affected packages
PackageAffectedFixed
ofono
Ubuntu:26.10
All versions, plus listed versions
2.18-2ubuntu22.19-1ubuntu1
None known
ofono
Ubuntu:26.04:LTS
All versions, plus listed versions
2.18-2ubuntu12.18-2ubuntu2
None known
ofono
Ubuntu:Pro:16.04:LTS
From an advisory covering 2 CVEs
before 1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm2, 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+esm1
1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm2
ofono
Ubuntu:Pro:18.04:LTS
From an advisory covering 2 CVEs
before 1.21-1ubuntu1+esm2, plus listed versions
1.17.bzr6921+16.10.20160819.6-0ubuntu11.21-1ubuntu11.21-1ubuntu1+esm1
1.21-1ubuntu1+esm2
ofono
Ubuntu:Pro:20.04:LTS
From an advisory covering 2 CVEs
before 1.31-2ubuntu1+esm2, plus listed versions
1.21-1ubuntu11.31-2ubuntu11.31-2ubuntu1+esm1
1.31-2ubuntu1+esm2
ofono
Ubuntu:22.04:LTS
From an advisory covering 2 CVEs
before 1.31-3ubuntu1.2, plus listed versions
1.31-3ubuntu11.31-3ubuntu1.1
1.31-3ubuntu1.2
ofono
Ubuntu:24.04:LTS
From an advisory covering 2 CVEs
before 1.31-3ubuntu3.24.04.2, plus listed versions
1.31-3ubuntu11.31-3ubuntu21.31-3ubuntu31.31-3ubuntu3.24.04.1
1.31-3ubuntu3.24.04.2
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
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

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

In short

CVE-2023-4235 is a high vulnerability (CVSS 8.1) in Ofono Project Ofono, published April 17, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.94%, the 61st percentile. Fixed in ofono 2.14-1.

References

Show 41 moreShow less
MoveEnter Open