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.24% 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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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-10651bt_sdp_parse_attribute() in subsys/bluetooth/host/classic/sd…6.5
- CVE-2026-10652Zephyr's DNS resolver (subsys/net/lib/dns) parses resource r…7.4
- CVE-2026-10653The Zephyr net_buf library (lib/net_buf/buf.c) manipulated b…8.1
- CVE-2026-10654A race condition in the Zephyr Bluetooth Classic RFCOMM host…3.1
- CVE-2026-10655The asynchronous SNTP client in Zephyr (subsys/net/lib/sntp/…5.9
- CVE-2026-10656The MAX32xxx USB device controller driver (drivers/usb/udc/u…4.6
- CVE-2026-10658bt_iso_recv() in subsys/bluetooth/host/iso.c pulled the ISO …7.1
- CVE-2026-10659The Dhara flash translation layer disk driver (drivers/disk/…4.7
- CVE-2026-1066A vulnerability was detected in kalcaddle kodbox up to 1.61.…8.8
- CVE-2026-10660The Bluetooth BAP Broadcast Assistant GATT client in subsys/…6.4
- CVE-2026-10661A vulnerability has been found in ahujasid blender-mcp up to…4.3
- CVE-2026-10662A vulnerability was found in ahujasid blender-mcp up to 7636…6.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
