CVE-2023-4233
High · 8.1CVSS
8.1
EPSS
1.0%
Published
Apr 17, 2024
CISA due date
—
Cloudanix analysis
A bug in open-source phone software on Linux can let attackers take control of a device by sending specially crafted text messages.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Full Compromise
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A stack-based buffer overflow is triggered in the sms_decode_address_field function during SMS PDU decoding, allowing potential code execution or denial of service from untrusted input.
Why it matters to the business
Systems relying on ofono for telephony on Linux face risk of remote compromise through malicious SMS or rogue base stations, though low EPSS and lack of known exploitation reduce immediate operational urgency; the issue has persisted for over two years without widespread downstream impact noted.
How an attack unfolds
An attacker uses a compromised modem, malicious base station, or crafted SMS to send a malformed PDU that overflows the stack buffer inside sms_decode_address_field during decoding, potentially leading to arbitrary code execution on the host.
How to fix it
Upgrade ofono to the commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae or later in the GIT repository.
How to confirm the fix worked
Confirm the installed ofono source or binary matches or exceeds commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae and test SMS PDU handling for crashes or unexpected behavior.
Typical attack path
- Position malicious base station or compromise modem to deliver crafted SMS
- Send PDU that reaches sms_decode_address_field during decoding
- Trigger stack overflow to corrupt memory and gain code execution
How to detect it
Review system and application logs for ofono segmentation faults or abnormal termination during SMS receipt; inspect for unexpected child processes or memory corruption indicators in telephony stacks.
What your security team should do
- Apply the fixed commit 54aa82cbbe3e3bf29dea7eaf35adbc91b94df2ae to all ofono deployments
- Monitor logs for ofono crashes during SMS processing
- Limit exposure by restricting untrusted modem or base station access where feasible
The record
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug is triggered within the sms_decode_address_field() function during the SMS PDU decoding. It is assumed that the attack scenario is accessible from a compromised modem, a malicious base station, or just SMS.
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: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+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 |
Related vulnerabilities
- 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-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