CVE-2026-10773
Last modified
CVE-2026-10773 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. The DHCPv4 client helper net_dhcpv4_msg_type_name() in subsys/net/lib/dhcpv4/dhcpv4.c indexes a static 8-element const char * name table after a faulty bounds check. The guard used msg_type <= sizeof(name) instead of msg_type <= ARRAY_SIZE(name); sizeof returns the byte size of the pointer array (32 on 32-bit, 64 on 64-bit targets) rather than the element count of 8, so message-type values from 9 up to that byte size pass the check and cause name[msg_type - 1] to read past the end of the array. The msg_type value originates from the DHCP MESSAGE TYPE option, which is read as an unchecked raw byte from a received packet (net_pkt_read_u8) and passed unmodified into the lookup. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
The DHCPv4 client helper net_dhcpv4_msg_type_name() in subsys/net/lib/dhcpv4/dhcpv4.c indexes a static 8-element const char * name table after a faulty bounds check. The guard used msg_type <= sizeof(name) instead of msg_type <= ARRAY_SIZE(name); sizeof returns the byte size of the pointer array (32 on 32-bit, 64 on 64-bit targets) rather than the element count of 8, so message-type values from 9 up to that byte size pass the check and cause name[msg_type - 1] to read past the end of the array. The msg_type value originates from the DHCP MESSAGE TYPE option, which is read as an unchecked raw byte from a received packet (net_pkt_read_u8) and passed unmodified into the lookup. A DHCP server, or any host able to inject a spoofed DHCP reply onto the client's link, can therefore drive the index out of bounds. The out-of-range slot yields a garbage const char * that is then dereferenced by a %s log conversion. The lookup is reached only from a debug log statement (NET_DBG / LOG_DBG), so the out-of-bounds read is triggerable only when the DHCPv4 log module is built at DEBUG level (CONFIG_NET_DHCPV4_LOG_LEVEL_DBG), which is not the default configuration. When that condition holds, the result is an out-of-bounds read and a wild-pointer dereference: most likely a crash of the DHCP client (denial of service) and potentially disclosure of an adjacent pointer's contents through the log output. The fix replaces sizeof with ARRAY_SIZE, restoring the correct 1..8 acceptance window.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | >= 3.6.0, < 4.5.0 |
References
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-r5hq-xq42-wcfqExploit, Patch, Vendor Advisory
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-r5hq-xq42-wcfqExploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-10773?
How severe is CVE-2026-10773?
How do I fix CVE-2026-10773?
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-107724fast-jwt provides fast JSON Web Token (JWT) implementation. …7.4
- CVE-2026-107725Hazelcast is a unified real-time data platform combining str…8.7
- CVE-2026-107726Hazelcast is a unified real-time data platform combining str…9.3
- CVE-2026-107727Strawberry GraphQL is a library for creating GraphQL APIs. F…3.7
- CVE-2026-107728Strawberry GraphQL is a library for creating GraphQL APIs. F…7.5
- CVE-2026-107729SumatraPDF is a multi-format reader for Windows. In 3.7.0.22…5.5
- CVE-2026-107730SumatraPDF is a multi-format reader for Windows. In 3.7.0.22…5.5
- CVE-2026-107731SumatraPDF is a multi-format reader for Windows. In 3.7.0.22…5.5
- CVE-2026-107732SumatraPDF is a multi-format reader for Windows. In 3.6.1 an…8.4
- CVE-2026-107733SumatraPDF is a multi-format reader for Windows. In 3.6.1 an…6.8
- CVE-2026-107734SumatraPDF is a multi-format reader for Windows. In 3.5.2 an…7.1
- CVE-2026-107735SumatraPDF is a multi-format reader for Windows. In 3.6.1 an…5.4
Are you affected by CVE-2026-10773?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
