CVE-2026-34960
barebox Out-of-Bounds Read in DHCP Option Parsing
- State
- Published
- Severity
- 7.1 High
- Published
- May 11, 2026
- Updated
- Jul 18, 2026
- Reserved
- Mar 31, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.1 High | 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 | VulnCheck |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
bareboxbarebox |
|
References
- https://github.com/barebox/bareboxproduct
- https://github.com/barebox/barebox/releases/tag/v2026.04.0patch
- https://www.vulncheck.com/advisories/barebox-out-of-bounds-read-in-dhcp-option-parsingthird-party-advisory
- Blog Posttechnical-description
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.