CVE-2026-34963: barebox EFI PE Loader Memory Safety Vulnerabilities
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
barebox EFI PE Loader (efi/loader/pe.c)to a version that resolves this vulnerability.Fixed in 2026.04.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-34963?
CVE-2026-34963 is classified as a high severity vulnerability due to the potential for memory corruption exploits.
How do I fix CVE-2026-34963?
To remediate CVE-2026-34963, upgrade to barebox version 2026.04.0 or later.
What software is affected by CVE-2026-34963?
CVE-2026-34963 affects barebox versions prior to 2026.04.0.
What types of vulnerabilities are present in CVE-2026-34963?
CVE-2026-34963 includes multiple memory safety vulnerabilities in the EFI PE loader.
What components of barebox are impacted by CVE-2026-34963?
CVE-2026-34963 specifically impacts the efi/loader/pe.c component of barebox.