CVE-2026-10773: bounds in zephyrproject zephyr
CVE-2026-10773 is a medium severity vulnerability in the Zephyr project's DHCPv4 client. It involves an out-of-bounds read caused by an incorrect bounds check in the net_dhcpv4_msg_type_name() function, which indexes a static array using a DHCP message type value. This vulnerability can be triggered only when DHCPv4 debug logging is enabled at DEBUG level. Exploitation may lead to a denial of service via client crash and potential disclosure of adjacent memory contents through log output.
AI Analysis
Technical Summary
The vulnerability arises from the net_dhcpv4_msg_type_name() function in Zephyr's DHCPv4 client, which uses a faulty bounds check to index an 8-element static array of message type names. The check incorrectly uses sizeof(name) instead of ARRAY_SIZE(name), allowing message-type values between 9 and the byte size of the array pointer (32 or 64) to pass and cause out-of-bounds reads. The msg_type value is derived directly from unvalidated DHCP MESSAGE TYPE option bytes from received packets. This out-of-bounds read occurs only when DHCPv4 debug logging is enabled (CONFIG_NET_DHCPV4_LOG_LEVEL_DBG). The consequence is a wild pointer dereference during a %s log conversion, likely causing a DHCP client crash (denial of service) and possible leakage of adjacent memory contents in logs. The fix involves replacing sizeof with ARRAY_SIZE to enforce correct bounds checking.
Potential Impact
An attacker capable of injecting spoofed DHCP replies on the client's network link can trigger an out-of-bounds read in the DHCPv4 client when debug logging is enabled. This leads to a wild pointer dereference causing a likely crash of the DHCP client, resulting in denial of service. Additionally, there is potential for information disclosure through log output of adjacent memory contents. The vulnerability does not impact confidentiality or integrity beyond this limited disclosure and denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, the vulnerability can be mitigated by ensuring that DHCPv4 debug logging is not enabled (i.e., do not set CONFIG_NET_DHCPV4_LOG_LEVEL_DBG to DEBUG). Disabling or lowering the DHCPv4 log level prevents the vulnerable code path from being executed. Monitor the Zephyr project advisories for an official fix that corrects the bounds check from sizeof to ARRAY_SIZE.
CVE-2026-10773: bounds in zephyrproject zephyr
Description
CVE-2026-10773 is a medium severity vulnerability in the Zephyr project's DHCPv4 client. It involves an out-of-bounds read caused by an incorrect bounds check in the net_dhcpv4_msg_type_name() function, which indexes a static array using a DHCP message type value. This vulnerability can be triggered only when DHCPv4 debug logging is enabled at DEBUG level. Exploitation may lead to a denial of service via client crash and potential disclosure of adjacent memory contents through log output.
CVSS v3.1
Score 5.4medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from the net_dhcpv4_msg_type_name() function in Zephyr's DHCPv4 client, which uses a faulty bounds check to index an 8-element static array of message type names. The check incorrectly uses sizeof(name) instead of ARRAY_SIZE(name), allowing message-type values between 9 and the byte size of the array pointer (32 or 64) to pass and cause out-of-bounds reads. The msg_type value is derived directly from unvalidated DHCP MESSAGE TYPE option bytes from received packets. This out-of-bounds read occurs only when DHCPv4 debug logging is enabled (CONFIG_NET_DHCPV4_LOG_LEVEL_DBG). The consequence is a wild pointer dereference during a %s log conversion, likely causing a DHCP client crash (denial of service) and possible leakage of adjacent memory contents in logs. The fix involves replacing sizeof with ARRAY_SIZE to enforce correct bounds checking.
Potential Impact
An attacker capable of injecting spoofed DHCP replies on the client's network link can trigger an out-of-bounds read in the DHCPv4 client when debug logging is enabled. This leads to a wild pointer dereference causing a likely crash of the DHCP client, resulting in denial of service. Additionally, there is potential for information disclosure through log output of adjacent memory contents. The vulnerability does not impact confidentiality or integrity beyond this limited disclosure and denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, the vulnerability can be mitigated by ensuring that DHCPv4 debug logging is not enabled (i.e., do not set CONFIG_NET_DHCPV4_LOG_LEVEL_DBG to DEBUG). Disabling or lowering the DHCPv4 log level prevents the vulnerable code path from being executed. Monitor the Zephyr project advisories for an official fix that corrects the bounds check from sizeof to ARRAY_SIZE.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-06-03T15:44:06.548Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6deb26bf32cb7a34c1fc05
Added to database: 08/01/2026, 12:48:38 UTC
Last enriched: 08/01/2026, 13:04:48 UTC
Last updated: 08/01/2026, 15:00:55 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.