CVE-2023-4232
High · 8.1CVSS
8.1
EPSS
1.0%
Published
Apr 17, 2024
CISA due date
—
Cloudanix analysis
A bug in Linux phone software can let attackers crash or take control of devices by sending specially crafted text messages.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stack-based buffer overflow triggered in decode_status_report() during SMS decoding due to missing bound check on memcpy length, enabling memory corruption from oversized input.
Why it matters to the business
Enables remote compromise of Linux telephony systems handling mobile connectivity, risking device takeover, service outages, or data exposure on affected deployments.
How an attack unfolds
An attacker delivers a crafted SMS status report (via malicious base station, compromised modem, or direct SMS) that reaches decode_status_report(); the missing length validation allows an oversized memcpy to overflow the stack and potentially hijack control flow.
How to fix it
Update ofono to the version containing commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae or later; rebuild and redeploy any packages depending on the affected ofono source.
How to confirm the fix worked
Confirm the fixed commit is present in the ofono source tree, verify the decode_status_report() function now contains an equivalent length check to decode_submit(), and test with crafted SMS inputs under controlled conditions.
Typical attack path
- Deliver malicious SMS status report to target device
- Trigger SMS decoding path invoking decode_status_report()
- Exploit missing bound check to overflow stack buffer
- Achieve memory corruption for code execution or denial of service
How to detect it
Inspect ofono process logs and core dumps for stack overflows during SMS status-report handling; correlate with inbound SMS events from untrusted sources.
What your security team should do
- Apply the upstream fix to all ofono deployments without delay
- Harden SMS ingress paths where feasible (e.g., network-level filtering)
- Monitor for ofono process crashes correlated with SMS activity
- Review downstream dependents and rebuild with the patched version
The record
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the decode_status_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_status_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 |
| 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-4234 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-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