7.1high
barebox Out-of-Bounds Read in DHCP Option Parsing
- Severity
- 7.1high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| barebox barebox | before 2026.04.0 | CVE List |
| pengutronix barebox | before 2026.04.0 | NVD |
All scores
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| VulnCheck | 7.1high CVSS:4.0 | CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
barebox anterior a la versión 2026.04.0 contiene una vulnerabilidad de lectura fuera de límites en el análisis de opciones DHCP dentro de la función dhcp_message_type() que no verifica que el puntero de opciones permanezca dentro de los límites del paquete recibido. Un atacante en el mismo dominio de difusión puede enviar un paquete DHCP Offer o ACK manipulado sin un marcador de fin 0xff adecuado para hacer que el analizador lea más allá de los datos válidos del paquete y potencialmente bloquear el sistema.
References
| https://github.com/barebox/barebox | product | |
| https://github.com/barebox/barebox/releases/tag/v2026.04.0 | patch, release-notes | |
| https://www.vulncheck.com/advisories/barebox-out-of-bounds-read-in-dhcp-option-parsing | third-party-advisory | |
| https://y637f9qq2x.com/posts/barebox-sandbox-vulns/ | technical-description | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34960 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-34960 changed 2026-11-11 | Public domain |