CVE-2026-1678

dns_unpack_name() caches the buffer tailroom once and reuses it while appending DNS labels. As the buffer grows, the cached size becomes incorrect, and the final null terminator can be written past the buffer. With assertions disabled (default), a malicious DNS response can trigger an out-of-bounds write when CONFIG_DNS_RESOLVER is enabled.
Configurations

Configuration 1 (hide)

cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*

History

09 Mar 2026, 18:33

Type Values Removed Values Added
First Time Zephyrproject
Zephyrproject zephyr
References () https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42 - () https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42 - Exploit, Patch, Vendor Advisory
CPE cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*
Summary
  • (es) dns_unpack_name() almacena en caché el espacio restante del búfer una vez y lo reutiliza al adjuntar etiquetas DNS. A medida que el búfer crece, el tamaño almacenado en caché se vuelve incorrecto, y el terminador nulo final puede escribirse más allá del búfer. Con las aserciones deshabilitadas (por defecto), una respuesta DNS maliciosa puede desencadenar una escritura fuera de los límites cuando CONFIG_DNS_RESOLVER está habilitado.

05 Mar 2026, 16:16

Type Values Removed Values Added
References () https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42 - () https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42 -

05 Mar 2026, 07:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-05 07:16

Updated : 2026-03-09 18:33


NVD link : CVE-2026-1678

Mitre link : CVE-2026-1678

CVE.ORG link : CVE-2026-1678


JSON object : View

Products Affected

zephyrproject

  • zephyr
CWE
CWE-787

Out-of-bounds Write