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.18% 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
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
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-10766A vulnerability has been found in mlrun up to 1.12.0-rc3. Th…3.6
- CVE-2026-10768Missing Authorization vulnerability in Drupal LocalGov Workf…9.8
- CVE-2026-10769Improper Neutralization of Input During Web Page Generation …5.4
- CVE-2026-10770Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2026-10771A vulnerability was found in crmeb crmeb_java 1.4. Affected …7.3
- CVE-2026-10772Rejected reason: ** DUPLICATE ** This CVE Record has been re…
- CVE-2026-10774Zephyr's Bluetooth Mesh subnet key management leaks one PSA …6.5
- CVE-2026-10775A vulnerability was determined in sgl-project SGLang up to 0…5.3
- CVE-2026-10777A vulnerability was identified in ealpha072 Student-Manageme…7.3
- CVE-2026-10779The Classified Listing – Classified ads & Business Directory…4.3
- CVE-2026-1078An arbitrary file-write vulnerability in Pega Browser Extens…7.2
- CVE-2026-10780The Static Block plugin for WordPress is vulnerable to Insec…4.3
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
