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

- Severity: Critical 9.4 (CVSS:3.1, scored by zephyr) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-05T06:21:36.907Z
- Modified: 2026-11-05T19:31:14.457Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: zephyr

## 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.

(As written by CVE List.)

## Affected

- Zephyr: from * before 3.7.2; from 4.0.0 before 4.2.2; from 4.3.0 before 4.3.1
- zephyrproject zephyr: before 3.7.2; from 4.0.0 before 4.2.2; from 4.3.0 before 4.3.1

## Every score

- zephyr: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42> (exploit, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-1678](https://www.cve.org/CVERecord?id=CVE-2026-1678), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-1678](https://nvd.nist.gov/vuln/detail/CVE-2026-1678), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-1678 · Whole record: https://cve.day/CVE-2026-1678.json · Rebuilt by cve.day 2026-11-25T22:59:15.304Z
