CVE-2026-34960
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedbarebox 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencebarebox before 2026.04.0 has an out-of-bounds read vulnerability in the dhcp_message_type() function during DHCP option parsing. The function does not validate that the options pointer remains within the bounds of the received DHCP packet, allowing an attacker on the same broadcast domain to send a crafted DHCP Offer or ACK packet lacking the proper 0xff end marker, causing the parser to read past valid packet data and potentially crash the system.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 2026.04.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Adjacent
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed barebox versionRun 'barebox-version' or check the bootloader binary metadata at runtime, or inspect the barebox image file on the firmware partition for version strings like 'barebox-YYYY.MM'Affected if The version string shows a release earlier than 2026.04.0
-
Confirm DHCP client functionality is enabledCheck the barebox configuration or running config for DHCP client support - look for 'dhcp' command availability or CONFIG_NET_DHCP option in the built configurationAffected if DHCP client is compiled in and available on the system
-
Determine if DHCP is actively used in the boot processInspect boot scripts or environment (e.g., /env/boot or boot.scr) for 'dhcp' commands that fetch network configuration via DHCP at boot timeAffected if Boot scripts contain dhcp commands that execute during boot
-
Assess network exposureReview network configuration to determine if barebox operates on a shared broadcast network where untrusted DHCP servers could inject packetsAffected if The system relies on DHCP on an untrusted or shared network segment
The system is affected if barebox version is earlier than 2026.04.0 AND the DHCP client feature is enabled and used to obtain network configuration at boot time.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2026.04.0
Upgrade barebox to version 2026.04.0 or later, which contains bounds checking in DHCP option parsing. As a defensive measure, network segmentation can limit exposure to attackers on the same broadcast domain.
barebox 2026.04.0
- Obtain barebox version 2026.04.0 or later from the official barebox repository (github.com/barebox/barebox)
- Build the new barebox version for your target platform following the standard build procedure
- Flash the compiled barebox image to your device using your platform's standard update mechanism
- Reboot the device to load the updated barebox
- Verify the installed barebox version is 2026.04.0 or later using the 'version' command
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,808.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-34960 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-34960 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data