CVE-2026-1678 Details
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.
A memory-safety vulnerability has been identified in the Zephyr Project's DNS resolver component, specifically in versions through 4.3. The issue arises in the 'dns_unpack_name()' function, which improperly manages buffer tailroom when appending DNS labels. This mismanagement can lead to out-of-bounds writes, allowing attacker-controlled data to be written beyond the allocated buffer space. The vulnerability is present when assertions are disabled, which is the default configuration, and can be exploited by sending a crafted DNS response that takes advantage of the flawed buffer handling.
Users can update to Zephyr versions 4.4 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42 | CISA-ADP | ExploitPatchVendor Advisory |
| https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42 | [email protected] | ExploitPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| zephyrproject zephyr | < 3.7.2 >= 4.0.0, < 4.2.2 >= 4.3.0, < 4.3.1 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | Modified Analysis | [email protected] |
| Oct 15, 2026 | CVE Modified | [email protected] |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Mar 9, 2026 | Initial Analysis | [email protected] |
| Mar 5, 2026 | CVE Modified | CISA-ADP |
| Mar 5, 2026 | New CVE Received | [email protected] |