dns: memory‑safety issue in the DNS name parser
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.
CVE-2026-1678
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-1678
Zephyr
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/zephyrproject-rtos/zephyr",
"vendor": "zephyrproject-rtos",
"product": "Zephyr",
"versions": [
{
"status": "affected",
"version": "*",
"lessThan": "3.7.2",
"versionType": "git"
},
{
"status": "affected",
"version": "4.0.0",
"lessThan": "4.2.2",
"versionType": "git"
},
{
"status": "affected",
"version": "4.3.0",
"lessThan": "4.3.1",
"versionType": "git"
}
],
"packageName": "Zephyr",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-1678
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #32272 · Revision 1
- Added to Heist Feed
- Publisher date