CRITICAL🇵🇱 Wersja polska

CVE-2026-1678

CVSS 9.4v3.1pub. 2026-03-05upd. 2026-03-09

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.

🤖 AI Analysis
How it works

The dns_unpack_name() function reads and caches the available space (tailroom) in the buffer once, and then repeatedly uses this value when appending subsequent DNS labels. As the buffer fills up, the cached value stops reflecting the actual state and becomes invalid. As a result, the final null terminator can be written outside the buffer boundary. This condition can be triggered remotely when the CONFIG_DNS_RESOLVER option is enabled in the system configuration and assertions are disabled (which is the default setting).

Impact

A remote attacker, without authentication, can trigger an out-of-bounds write through a malicious DNS response, which may result in memory corruption, system destabilization or device shutdown (DoS), and potentially also compromise the integrity of processed data.

Mitigation & patch

Patches available from the vendor should be applied according to the references (https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42). As a temporary workaround, consider disabling CONFIG_DNS_RESOLVER if DNS functionality is not required, or enabling assertions to limit exploit potential.

Who is affected

Zephyr RTOS project (Zephyrproject Zephyr) with CONFIG_DNS_RESOLVER option enabled and assertions disabled (default configuration); specific versions indicated in vendor references.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
  • Zephyrproject Zephyr

    OS
    Zephyrproject
    ≤ 4.3.0
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
Memory
CWE
References

Related vulnerabilities

CVE-2026-5067CRITICAL9.8PL ✓same product

Zdalne uszkodzenie pamięci stosu w Zephyr HTTP Server WebSocket (RCE/DoS)

CVE-2024-11263CRITICAL9.3PL ✓same product

Błąd adresowania GP w Zephyr RTOS na architekturze RISC-V

CVE-2021-3329CRITICAL9.6PL ✓same product

Błąd inicjalizacji stosu HCI w Zephyr RTOS powodujący crash Bluetooth

CVE-2022-3806CRITICAL9.8PL ✓same product

Double free w obsłudze błędów Bluetooth HCI w Zephyr RTOS

CVE-2023-0397CRITICAL9.6PL ✓same product

Denial of Service przez złośliwy kontroler Bluetooth w Zephyr RTOS