CVE-2023-2794
Ofono: sms decoder stack-based buffer overflow remote code execution vulnerability within the decode_deliver() function
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver() 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().
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
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() function
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver() 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().
- Record
CVE-2023-2794- CVSS 3.1
- 8.1 High
CVSS: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-34250
8.1
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver() 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().
- Record
EUVD-2023-34250- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-qcrm-33g9-cjcc
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() 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().
- Record
GHSA-qcrm-33g9-cjcc- CVSS 3.1
- 8.1 High
CVSS: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() 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().
- Record
CVE-2023-2794- CVSS 3.1
- 8.1 High
CVSS: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() function
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver() 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().
- Record
CVE-2023-2794- CVSS 3.1
- 8.1 High
CVSS: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-2794
8.1
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver() 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().
- Record
DEBIAN-CVE-2023-2794- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2023-2794
8.1
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_deliver() 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().
- Record
UBUNTU-CVE-2023-2794- CVSS 3.1
- 8.1 High
CVSS: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: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-7141-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-2794, CVE-2023-4233, CVE-2023-4234)
- Record
USN-7141-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 1.31-4 | 1.31-4 |
ofonoDebian:14 |
before 1.31-4 | 1.31-4 |
ofonoMageia:9 From an advisory covering 5 CVEs |
before 2.1-1.1.mga9 | 2.1-1.1.mga9 |
ofonoUbuntu:Pro:16.04:LTS |
before 1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm1, 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-0ubuntu1 |
1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm1 |
ofonoUbuntu:Pro:18.04:LTS |
before 1.21-1ubuntu1+esm1, plus listed versions 1.17.bzr6921+16.10.20160819.6-0ubuntu11.21-1ubuntu1 |
1.21-1ubuntu1+esm1 |
ofonoUbuntu:Pro:20.04:LTS |
before 1.31-2ubuntu1+esm1, plus listed versions 1.21-1ubuntu11.31-2ubuntu1 |
1.31-2ubuntu1+esm1 |
ofonoUbuntu:22.04:LTS |
before 1.31-3ubuntu1.1, plus listed versions 1.31-3ubuntu1 |
1.31-3ubuntu1.1 |
ofonoUbuntu:24.04:LTS |
before 1.31-3ubuntu3.24.04.1, plus listed versions 1.31-3ubuntu11.31-3ubuntu21.31-3ubuntu3 |
1.31-3ubuntu3.24.04.1 |
ofonoUbuntu:25.10 |
All versions, plus listed versions 2.16-1ubuntu12.16-5ubuntu12.18-1ubuntu12.18-2ubuntu1 |
None known |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ofonoUbuntu:26.10 |
All versions, plus listed versions 2.18-2ubuntu22.19-1ubuntu1 |
None known |
ofonoUbuntu:26.04:LTS |
All versions, plus listed versions 2.18-2ubuntu12.18-2ubuntu2 |
None known |
ofonoUbuntu:Pro:16.04:LTS From an advisory covering 3 CVEs |
before 1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm1, 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-0ubuntu1 |
1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm1 |
ofonoUbuntu:Pro:18.04:LTS From an advisory covering 3 CVEs |
before 1.21-1ubuntu1+esm1, plus listed versions 1.17.bzr6921+16.10.20160819.6-0ubuntu11.21-1ubuntu1 |
1.21-1ubuntu1+esm1 |
ofonoUbuntu:Pro:20.04:LTS From an advisory covering 3 CVEs |
before 1.31-2ubuntu1+esm1, plus listed versions 1.21-1ubuntu11.31-2ubuntu1 |
1.31-2ubuntu1+esm1 |
ofonoUbuntu:22.04:LTS From an advisory covering 3 CVEs |
before 1.31-3ubuntu1.1, plus listed versions 1.31-3ubuntu1 |
1.31-3ubuntu1.1 |
ofonoUbuntu:24.04:LTS From an advisory covering 3 CVEs |
before 1.31-3ubuntu3.24.04.1, plus listed versions 1.31-3ubuntu11.31-3ubuntu21.31-3ubuntu3 |
1.31-3ubuntu3.24.04.1 |
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 | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-2794 is a high vulnerability (CVSS 8.1) in Linux Ofono, published April 10, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.25%, the 69th percentile. Fixed in ofono 1.31-4.
References
bugzilla.redhat.com/show_bug.cgi?id=2255387
lists.fedoraproject.org/archives/list/[email protected]/message/RLAWJAAS3HDI2KMCZXF4DMR3Y4BQNMKO
nvd.nist.gov/vuln/detail/CVE-2023-2794
github.com/advisories/GHSA-qcrm-33g9-cjcc
github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2794.json
git.kernel.org/pub/scm/network/ofono/ofono.git
Show 41 moreShow less
security-tracker.debian.org/tracker/CVE-2023-2794
advisories.mageia.org/MGASA-2025-0063.html
bugs.mageia.org/show_bug.cgi?id=33841
ubuntu.com/security/notices/USN-7141-1
ubuntu.com/security/notices/USN-7151-1
ubuntu.com/security/CVE-2023-2794
cve.org/CVERecord?id=CVE-2023-2794
ubuntu.com/security/CVE-2023-4233
ubuntu.com/security/CVE-2023-4234
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