Skip to content
CVE PROGRAM SOURCE RECORD9.4 Critical

CVE-2026-1678

dns: memory‑safety issue in the DNS name parser

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

zephyrproject-rtos Zephyr

Default version status: unaffected

  • * to < 3.7.2affected
  • 4.0.0 to < 4.2.2affected
  • 4.3.0 to < 4.3.1affected

References