CVE-2026-10657
Last modified
CVE-2026-10657 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Zephyr's DNS resolver detects mDNS (.local) queries in dns_resolve_name_internal() (subsys/net/lib/dns/resolve.c) with memcmp(strrchr(query, '.'), ".local", 7), which always reads a fixed 7 bytes from the suffix pointer. When the resolved hostname's final label is shorter than 7 bytes (e.g. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
Zephyr's DNS resolver detects mDNS (.local) queries in dns_resolve_name_internal() (subsys/net/lib/dns/resolve.c) with memcmp(strrchr(query, '.'), ".local", 7), which always reads a fixed 7 bytes from the suffix pointer. When the resolved hostname's final label is shorter than 7 bytes (e.g. names ending in .org, .com, .net, .io, or a trailing dot), the comparison reads 1-2 bytes past the string's NUL terminator. The hostname (query) is the caller-supplied name passed through the standard getaddrinfo()/dns_get_addr_info()/dns_resolve_name() path and is influenceable by operators or remote inputs (server names from configuration, parsed URLs, or app-facing interfaces). On a tightly-sized buffer with no slack (for example a userspace getaddrinfo call where the hostname is copied with k_usermode_string_alloc_copy to exactly strlen+1 bytes), the over-read crosses the allocation boundary; if that boundary is unmapped (guard page, memory-domain boundary under MPU, or an address sanitizer) the over-read faults, causing a denial of service. The over-read bytes are never returned, so there is no information disclosure. The flaw is compiled only when CONFIG_MDNS_RESOLVER is enabled, exists since v1.10.0, and is fixed by replacing the fixed-length memcmp with a NUL-safe strcmp(ptr, ".local").
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | >= 1.10.0, <= 4.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-10657?
How severe is CVE-2026-10657?
How do I fix CVE-2026-10657?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-106564ImageMagick is free and open-source software used for editin…5.3
- CVE-2026-106565ImageMagick is free and open-source software used for editin…7.5
- CVE-2026-106566ImageMagick is free and open-source software used for editin…4.4
- CVE-2026-106567ImageMagick is free and open-source software used for editin…7.5
- CVE-2026-106568ImageMagick is free and open-source software used for editin…5.3
- CVE-2026-106569ImageMagick is free and open-source software used for editin…5.3
- CVE-2026-106570ImageMagick is free and open-source software used for editin…6.5
- CVE-2026-106571ImageMagick is free and open-source software used for editin…5.5
- CVE-2026-106572ImageMagick is free and open-source software used for editin…5.3
- CVE-2026-106573ImageMagick is free and open-source software used for editin…7.5
- CVE-2026-106574ImageMagick is free and open-source software used for editin…6.5
- CVE-2026-106575ImageMagick is free and open-source software used for editin…5.3
Are you affected by CVE-2026-10657?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
