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.
CVE-2026-1678
CVSS base score
9.4 (v3.1)
Severity
CRITICAL
Attack vector
Network
Weakness
CWE-787
Last modified
November 5, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
Affected products
zephyrproject zephyr
References
- github.com Exploit, Patch, Vendor Advisory
- github.com Exploit, Patch, Vendor Advisory