CVE-2026-34960
JSON

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 packageVersionsReported by
barebox bareboxbefore 2026.04.0CVE List
pengutronix bareboxbefore 2026.04.0NVD

All scores

VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
VulnCheck7.1high CVSS:4.0CVSS: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

CWE-125

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

Sources

SourceRecordLicence
CVE ListCVE-2026-34960 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-34960 changed 2026-11-11Public domain