What’s Vulnerable › Vulnerabilities

CVE-2023-2794: Ofono: sms decoder stack-based buffer overflow remote code execution vulnerability within the decode_deliver() function

Description

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().

Affected products

How to fix

Upgrade to a fixed version: oFono 2.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-2794 or the next vulnerability affects your stack