Skip to content

CVE-2026-1678 dns: memory‑safety issue in the DNS name parser

CriticalCVSS 9.8 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
zephyrproject zephyr < 3.7.2; >= 4.0.0, < 4.2.2; >= 4.3.0, < 4.3.1 3.7.2, 4.2.2, 4.3.1 Fixed
zephyrproject-rtos Zephyr < 3.7.2; >= 4.0.0, < 4.2.2; >= 4.3.0, < 4.3.1 3.7.2, 4.2.2, 4.3.1 Fixed

Affected products

ProductAffected versionsFixed in
zephyrproject-rtos Zephyr < 3.7.2 3.7.2
zephyrproject-rtos Zephyr >= 4.0.0, < 4.2.2 4.2.2
zephyrproject-rtos Zephyr >= 4.3.0, < 4.3.1 4.3.1
zephyrproject zephyr < 3.7.2 3.7.2
zephyrproject zephyr >= 4.0.0, < 4.2.2 4.2.2
zephyrproject zephyr >= 4.3.0, < 4.3.1 4.3.1

References