barebox versions prior to 2026.04.0 contain multiple memory-safety vulnerabilities in the EFI PE loader component. (CVE-2026-34963)
barebox versions prior to 2026.04.0 contain multiple memory-safety vulnerabilities in the EFI PE loader component. These include an integer overflow during virtual image size calculation and improper validation of PE section data boundaries. Exploitation can occur by supplying a malicious EFI PE binary via TFTP, USB, SD card, or network boot, potentially leading to heap buffer overflow or out-of-bounds reads. This may allow code execution within the bootloader context.
AI Analysis
Technical Summary
The vulnerability in barebox's EFI PE loader (efi/loader/pe.c) arises from an integer overflow in 32-bit arithmetic when computing virtual image size using section VirtualAddress and size values. This causes undersized heap allocation. Additionally, the PE section loading logic does not properly validate that PointerToRawData plus the copied size remains within the PE file buffer, enabling heap buffer overflow or out-of-bounds heap reads. An attacker can exploit this by providing a crafted EFI PE binary through various boot methods (TFTP, USB, SD card, network boot), potentially achieving arbitrary code execution in the bootloader environment. The vulnerability is tracked as CVE-2026-34963 and classified under CWE-190 (Integer Overflow or Wraparound).
Potential Impact
Successful exploitation can lead to heap buffer overflow or out-of-bounds memory reads in the bootloader, which may result in arbitrary code execution with bootloader privileges. This compromises the boot process integrity and can allow attackers to execute malicious code early in system startup.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Until a patch is available, avoid loading untrusted EFI PE binaries from external sources such as TFTP, USB, SD card, or network boot to reduce exposure.
barebox versions prior to 2026.04.0 contain multiple memory-safety vulnerabilities in the EFI PE loader component. (CVE-2026-34963)
Description
barebox versions prior to 2026.04.0 contain multiple memory-safety vulnerabilities in the EFI PE loader component. These include an integer overflow during virtual image size calculation and improper validation of PE section data boundaries. Exploitation can occur by supplying a malicious EFI PE binary via TFTP, USB, SD card, or network boot, potentially leading to heap buffer overflow or out-of-bounds reads. This may allow code execution within the bootloader context.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in barebox's EFI PE loader (efi/loader/pe.c) arises from an integer overflow in 32-bit arithmetic when computing virtual image size using section VirtualAddress and size values. This causes undersized heap allocation. Additionally, the PE section loading logic does not properly validate that PointerToRawData plus the copied size remains within the PE file buffer, enabling heap buffer overflow or out-of-bounds heap reads. An attacker can exploit this by providing a crafted EFI PE binary through various boot methods (TFTP, USB, SD card, network boot), potentially achieving arbitrary code execution in the bootloader environment. The vulnerability is tracked as CVE-2026-34963 and classified under CWE-190 (Integer Overflow or Wraparound).
Potential Impact
Successful exploitation can lead to heap buffer overflow or out-of-bounds memory reads in the bootloader, which may result in arbitrary code execution with bootloader privileges. This compromises the boot process integrity and can allow attackers to execute malicious code early in system startup.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Until a patch is available, avoid loading untrusted EFI PE binaries from external sources such as TFTP, USB, SD card, or network boot to reduce exposure.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qj4w-p892-c352
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-34963"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a5b608c2d1edb114c84a015
Added to database: 07/18/2026, 11:16:28 UTC
Last enriched: 07/18/2026, 11:21:01 UTC
Last updated: 07/18/2026, 19:06:03 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.