CVE-2023-4234
High · 8.1CVSS
8.1
EPSS
1.1%
Published
Apr 17, 2024
CISA due date
—
Cloudanix analysis
A bug in open-source Linux phone software can let attackers crash devices or run malicious code by sending specially crafted text messages through a compromised cellular connection.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stack-based buffer overflow in decode_submit_report() due to missing length check before memcpy during SMS decoding, allowing uncontrolled data copy onto the stack.
Why it matters to the business
Systems relying on ofono for mobile telephony face risk of crashes or remote code execution from SMS or modem-level attacks, potentially disrupting voice, messaging, and cellular connectivity services.
How an attack unfolds
An attacker with access via a compromised modem, malicious base station, or direct SMS delivery crafts a submit report PDU with an oversized payload. The decode_submit_report() function performs an unchecked memcpy, overflowing the stack and enabling control-flow hijacking or denial of service.
How to fix it
Upgrade ofono to commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae or later. Rebuild and redeploy packages using the updated source. Until patched, restrict exposure of telephony interfaces to untrusted networks or modems where feasible.
How to confirm the fix worked
Confirm the running ofono binary or source tree contains commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae. Exercise SMS decoding paths with boundary-test PDUs to verify absence of overflow. Monitor for segmentation faults in ofono processes after upgrade.
Typical attack path
- Obtain path to deliver malicious SMS or control a modem/base station
- Transmit crafted submit-report PDU exceeding expected bounds
- Trigger decode_submit_report() which omits the length validation present in decode_submit()
- Execute memcpy that overflows the stack buffer
- Achieve crash, arbitrary code execution, or further privilege escalation on the host
How to detect it
Review ofono process logs and system crash reports for segmentation faults or stack-smashing indicators during SMS handling. Correlate unexpected ofono restarts with incoming SMS or modem events. Examine audit logs for unusual telephony daemon behavior around the time of suspected attacks.
What your security team should do
- Immediately upgrade all ofono installations to the fixed commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae
- Inventory devices and services that embed or depend on ofono and prioritize patching by exposure level
- Implement network segmentation or modem filtering to limit untrusted SMS and base-station traffic until patches are applied
- Add ofono process crash and abnormal memory access alerts to existing monitoring
The record
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_submit_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_submit_report().
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | ofono | 0 | No fix |
| Debian:12 | ofono | 0 | No fix |
| Debian:13 | ofono | 0 | 2.10-1 |
| Debian:14 | ofono | 0 | 2.10-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.1 |
| Ubuntu:24.04:LTS | ofono | 0 | No fix |
| Ubuntu:24.04:LTS | ofono | 0 | 1.31-3ubuntu3.24.04.1 |
| Ubuntu:24.10 | ofono | 0 | No fix |
| Ubuntu:24.10 | ofono | 0 | 1.31-3ubuntu3.24.10.1 |
| Ubuntu:Pro:16.04:LTS | ofono | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ofono | 0 | 1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm1 |
| Ubuntu:Pro:18.04:LTS | ofono | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ofono | 0 | 1.21-1ubuntu1+esm1 |
| Ubuntu:Pro:20.04:LTS | ofono | 0 | 1.31-2ubuntu1+esm1 |
| openSUSE:Leap 16.0 | ofono | 0 | 2.19-bp160.1.1 |
| openSUSE:Tumbleweed | ofono | 0 | 2.19-3.1 |
Related vulnerabilities
- CVE-2023-4233 A flaw was found in ofono, an Open Source Telephony on Linux. Also affects ofono
- CVE-2023-4235 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