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

High 8.1 Published Updated

A stack-based buffer overflow in the ofono SMS decoder allows remote code execution via malicious SMS or base station interactions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-2794?

CVE-2023-2794 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 10 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-119

Which versions are affected by CVE-2023-2794?

It affects 2 products.

Products include Fedoraproject Fedora, Ofono Project Ofono.

How do I fix CVE-2023-2794?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-2794 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2794 exists.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-2794, GHSA-qcrm-33g9-cjcc, UBUNTU-CVE-2023-2794.

Is CVE-2023-2794 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free