Out-of-bounds Write Affecting ofono package, versions <1.31-2ubuntu1+esm3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.16% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-OFONO-7646239
  • published17 Apr 2026
  • disclosed6 Aug 2024

Introduced: 6 Aug 2024

CVE-2024-7543  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 ofono to version 1.31-2ubuntu1+esm3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ofono package and not the ofono package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.

The specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23456.

CVSS Base Scores

version 3.1