CVE-2026-1678

dns: memory‑safety issue in the DNS name parser

State
Published
Severity
9.4 Critical
Published
Mar 5, 2026
Updated
Oct 15, 2026
Reserved
Jan 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.4 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:Hzephyr

Weaknesses

Affected Products

ProductVersions
Zephyrzephyrproject-rtos
  • before 3.7.2Affected
  • 4.0.0 to before 4.2.2Affected
  • 4.3.0 to before 4.3.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.