What’s Vulnerable › Vulnerabilities
CVE-2026-34960: barebox Out-of-Bounds Read in DHCP Option Parsing
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-11 · updated 2026-07-18
- Weakness: CWE-125
Description
barebox prior to version 2026.04.0 contains an out-of-bounds read vulnerability in DHCP option parsing within the dhcp_message_type() function that fails to verify the options pointer remains within received packet bounds. An attacker on the same broadcast domain can send a crafted DHCP Offer or ACK packet without a proper 0xff end marker to cause the parser to read past valid packet data and potentially crash the system.
Affected products
- barebox: before 2026.04.0 — fixed in 2026.04.0
How to fix
Upgrade to a fixed version: barebox 2026.04.0. Check the vendor advisory for mitigations.
References
- https://github.com/barebox/barebox
- https://github.com/barebox/barebox/releases/tag/v2026.04.0
- https://www.vulncheck.com/advisories/barebox-out-of-bounds-read-in-dhcp-option-parsing
- https://y637f9qq2x.com/posts/barebox-sandbox-vulns/
Get alerted when CVE-2026-34960 or the next vulnerability affects your stack