Description
In utf8_trunc in zephyr/lib/utils/utf8.c, last_byte_p can point to one byte before the string pointer if the string is empty.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| zephyrproject-rtos | Zephyr | — | — |
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | zephyr | No fix yet | — |
| Ubuntu 26.04 LTS | zephyr | No fix yet | — |
| Ubuntu 25.10 | zephyr | No fix yet | — |
| Ubuntu 24.04 LTS | zephyr | No fix yet | — |
| Ubuntu 22.04 LTS | zephyr | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | zephyr | No fix yet | — |
| Ubuntu 18.04 LTS | zephyr | No fix yet | — |
| Ubuntu 16.04 LTS | zephyr | No fix yet | — |