{"id":"CVE-2026-1678","state":"PUBLISHED","title":"dns: memory‑safety issue in the DNS name parser","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.","publishedAt":"2026-03-05T06:21:36.907Z","updatedAt":"2026-10-15T22:10:22.460Z","severity":{"score":9.4,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","source":"zephyr"},"assigner":"zephyr","products":["zephyrproject-rtos Zephyr"],"affected":[{"vendor":"zephyrproject-rtos","product":"Zephyr","packageName":"Zephyr","defaultStatus":"unaffected","versions":[{"version":"*","status":"affected","lessThan":"3.7.2","versionType":"git"},{"version":"4.0.0","status":"affected","lessThan":"4.2.2","versionType":"git"},{"version":"4.3.0","status":"affected","lessThan":"4.3.1","versionType":"git"}],"repo":"https://github.com/zephyrproject-rtos/zephyr"}],"references":["https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/1xxx/CVE-2026-1678.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-1678","state":"PUBLISHED","datePublished":"2026-03-05T06:21:36.907Z","dateUpdated":"2026-10-15T22:10:22.460Z","assignerShortName":"zephyr","assignerOrgId":"e2e69745-5e70-4e92-8431-deb5529a81ad","dateReserved":"2026-01-30T05:48:49.746Z"},"containers":{"cna":{"title":"dns: memory‑safety issue in the DNS name parser","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"zephyrproject-rtos","product":"Zephyr","packageName":"Zephyr","defaultStatus":"unaffected","versions":[{"version":"*","status":"affected","lessThan":"3.7.2","versionType":"git"},{"version":"4.0.0","status":"affected","lessThan":"4.2.2","versionType":"git"},{"version":"4.3.0","status":"affected","lessThan":"4.3.1","versionType":"git"}],"repo":"https://github.com/zephyrproject-rtos/zephyr"}],"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.4,"baseSeverity":"CRITICAL","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"zephyr","orgId":"e2e69745-5e70-4e92-8431-deb5529a81ad","dateUpdated":"2026-10-15T22:10:22.460Z"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-536f-h63g-hj42","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-05T15:27:59.030104Z","id":"CVE-2026-1678","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-05T15:28:42.914Z"}}]}}}