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.
https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gg46-3rh2-v765
Source: Mitre, NVD
Published: 2024-10-04
Updated: 2024-11-12
Base Score: 6.1
Vector: CVSS2#AV:A/AC:L/Au:N/C:N/I:N/A:C
Severity: Medium
Base Score: 6.5
Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H