CVE-2023-4235
High · 8.1CVSS
8.1
EPSS
0.9%
Published
Apr 17, 2024
CISA due date
—
Cloudanix analysis
A bug in Linux software that handles phone calls and text messages can let an attacker who sends a specially crafted message take control of the device or make it crash.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Other
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stack-based buffer overflow in ofono's decode_deliver_report() function caused by an unchecked memcpy length during SMS deliver report decoding, allowing memory corruption from a malicious SMS, compromised modem, or rogue base station.
Why it matters to the business
Potential remote code execution or denial of service on Linux systems using ofono for cellular telephony, risking device compromise in embedded, mobile, or IoT environments; low immediate risk given stable low exploitation probability and no known campaigns.
How an attack unfolds
An attacker crafts a malicious SMS deliver report (or delivers it via compromised modem or fake base station) that reaches ofono's SMS decoding path; the missing bounds check in decode_deliver_report() permits an oversized memcpy that overflows the stack, enabling control-flow hijacking.
How to fix it
Update ofono to the commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae or later; rebuild and redeploy packages containing the fix; verify the patch is present in deployed binaries.
How to confirm the fix worked
Confirm the running ofono binary or source contains commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae; re-test SMS decoding paths with boundary-case PDUs; monitor process stability under crafted input.
Typical attack path
- Obtain delivery path to target via SMS, rogue base station, or compromised modem
- Send specially crafted deliver report PDU that bypasses the length check present in decode_submit()
- Trigger decode_deliver_report() which performs unbounded memcpy
- Overwrite stack data to achieve code execution or crash the ofono process
How to detect it
Review ofono process logs and system crash dumps for segmentation faults or stack-smashing events during SMS deliver-report processing; correlate with receipt of unexpected SMS PDUs.
What your security team should do
- Apply the upstream fix at commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae immediately on all affected systems
- Inventory all deployments of ofono and schedule updates
- Add ofono to the vulnerability management program with automated checks for new releases
- Harden SMS handling surfaces where possible (carrier filtering, modem isolation)
The record
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().
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | ofono | 0 | No fix |
| Debian:12 | ofono | 0 | No fix |
| Debian:13 | ofono | 0 | 2.14-1 |
| Debian:14 | ofono | 0 | 2.14-1 |
| Mageia:9 | ofono | 0 | 2.1-1.1.mga9 |
| Ubuntu:20.04:LTS | ofono | 0 | No fix |
| Ubuntu:22.04:LTS | ofono | 0 | No fix |
| Ubuntu:22.04:LTS | ofono | 0 | 1.31-3ubuntu1.2 |
| Ubuntu:24.04:LTS | ofono | 0 | No fix |
| Ubuntu:24.04:LTS | ofono | 0 | 1.31-3ubuntu3.24.04.2 |
| Ubuntu:24.10 | ofono | 0 | No fix |
| Ubuntu:24.10 | ofono | 0 | 1.31-3ubuntu3.24.10.2 |
| Ubuntu:25.04 | ofono | 0 | No fix |
| Ubuntu:25.10 | ofono | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ofono | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ofono | 0 | 1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm2 |
| Ubuntu:Pro:18.04:LTS | ofono | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ofono | 0 | 1.21-1ubuntu1+esm2 |
| Ubuntu:Pro:20.04:LTS | ofono | 0 | 1.31-2ubuntu1+esm2 |
| openSUSE:Leap 16.0 | ofono | 0 | 2.19-bp160.1.1 |
Related vulnerabilities
- CVE-2023-4233 A flaw was found in ofono, an Open Source Telephony on Linux. Also affects ofono
- CVE-2023-4234 A flaw was found in ofono, an Open Source Telephony on Linux. Also affects ofono
- CVE-2023-4232 A flaw was found in ofono, an Open Source Telephony on Linux. Also affects ofono
- CVE-2023-2794 A flaw was found in ofono, an Open Source Telephony on Linux. Also affects ofono
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119