barebox versions prior to 2026.04.0 have an out-of-bounds read vulnerability in the DHCP option parsing code. (CVE-2026-34960)
barebox versions prior to 2026.04.0 have an out-of-bounds read vulnerability in the DHCP option parsing code. The vulnerability occurs in the dhcp_message_type() function, which does not properly verify that the options pointer stays within the bounds of the received DHCP packet. An attacker on the same broadcast domain can exploit this by sending a crafted DHCP Offer or ACK packet missing the required 0xff end marker, causing the parser to read beyond valid data and potentially crash the system.
AI Analysis
Technical Summary
An out-of-bounds read vulnerability exists in barebox prior to version 2026.04.0 within the dhcp_message_type() function. The function fails to ensure that the DHCP options pointer remains within the bounds of the received packet. This allows an attacker on the same broadcast domain to send a malicious DHCP Offer or ACK packet without a terminating 0xff marker, leading to reading past valid packet data and potentially causing a system crash.
Potential Impact
Successful exploitation can cause the barebox system to crash due to out-of-bounds memory reads during DHCP option parsing. This results in a denial of service condition. There is no indication of code execution or data corruption beyond the crash.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict DHCP traffic to trusted sources within the broadcast domain to reduce exposure to crafted packets.
barebox versions prior to 2026.04.0 have an out-of-bounds read vulnerability in the DHCP option parsing code. (CVE-2026-34960)
Description
barebox versions prior to 2026.04.0 have an out-of-bounds read vulnerability in the DHCP option parsing code. The vulnerability occurs in the dhcp_message_type() function, which does not properly verify that the options pointer stays within the bounds of the received DHCP packet. An attacker on the same broadcast domain can exploit this by sending a crafted DHCP Offer or ACK packet missing the required 0xff end marker, causing the parser to read beyond valid data and potentially crash the system.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
An out-of-bounds read vulnerability exists in barebox prior to version 2026.04.0 within the dhcp_message_type() function. The function fails to ensure that the DHCP options pointer remains within the bounds of the received packet. This allows an attacker on the same broadcast domain to send a malicious DHCP Offer or ACK packet without a terminating 0xff marker, leading to reading past valid packet data and potentially causing a system crash.
Potential Impact
Successful exploitation can cause the barebox system to crash due to out-of-bounds memory reads during DHCP option parsing. This results in a denial of service condition. There is no indication of code execution or data corruption beyond the crash.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict DHCP traffic to trusted sources within the broadcast domain to reduce exposure to crafted packets.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fqhc-8hwj-969h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-34960"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a5b608c2d1edb114c84a01c
Added to database: 07/18/2026, 11:16:28 UTC
Last enriched: 07/18/2026, 11:20:54 UTC
Last updated: 07/18/2026, 19:32:06 UTC
Views: 12
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.