Description
oFono SMS Decoder Stack-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 SMS PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23460.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| oFono | oFono | 2.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ofono | 2.14-1 | — |
| Debian 13 | ofono | 2.14-1 | — |
| Debian 12 | ofono | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | ofono | 1.31-3ubuntu3.24.04.2+esm1 | — |
| Ubuntu Pro 22.04 LTS | ofono | 1.31-3ubuntu1.2+esm1 | — |
| Ubuntu Pro 20.04 LTS | ofono | 1.31-2ubuntu1+esm3 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | ofono | 1.21-1ubuntu1+esm3 | — |
| Ubuntu Pro 16.04 LTS | ofono | 1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm3 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | ofono | 2.19-bp160.1.1 | openSUSE-SU-2026:21154-1 |
Advisories 1
- openSUSE-SU-2026:21154-1 Security update for ofono SUSE / openSUSE Security Updates · Jun 30, 2026