What’s Vulnerable › Vulnerabilities
CVE-2026-34963: barebox EFI PE Loader Memory Safety Vulnerabilities
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-11 · updated 2026-07-18
- Weakness: CWE-190
Description
barebox version prior to 2026.04.0 contains multiple memory-safety vulnerabilities in the EFI PE loader in efi/loader/pe.c where integer overflow in virtual image size computation using 32-bit arithmetic on section VirtualAddress and size values allows undersized heap allocation, and PE section loading logic fails to validate that PointerToRawData plus copied size remains within the PE file buffer. An attacker can supply a malicious EFI PE binary via TFTP, USB, SD card, or network boot to trigger heap buffer overflow or out-of-bounds read from heap memory, potentially achieving code execution in bootloader context.
Affected products
- barebox: before 2026.04.0 — fixed in 2026.04.0
How to fix
Upgrade to a fixed version: barebox 2026.04.0. Check the vendor advisory for mitigations.
References
- https://github.com/barebox/barebox
- https://github.com/barebox/barebox/releases/tag/v2026.04.0
- https://www.vulncheck.com/advisories/barebox-efi-pe-loader-memory-safety-vulnerabilities
- https://y637f9qq2x.com/posts/barebox-sandbox-vulns/
Get alerted when CVE-2026-34963 or the next vulnerability affects your stack