8.6high
barebox EFI PE Loader Memory Safety Vulnerabilities
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.16% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| barebox barebox | before 2026.04.0 | CVE List |
| pengutronix barebox | before 2026.04.0 | NVD |
All scores
| VulnCheck | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| VulnCheck | 8.6high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
La versión de barebox anterior a 2026.04.0 contiene múltiples vulnerabilidades de seguridad de memoria en el cargador EFI PE en efi/loader/pe.c donde el desbordamiento de entero en el cálculo del tamaño de la imagen virtual utilizando aritmética de 32 bits en los valores de VirtualAddress y tamaño de la sección permite una asignación de montón de tamaño insuficiente, y la lógica de carga de la sección PE no valida que PointerToRawData más el tamaño copiado permanezca dentro del búfer del archivo PE. Un atacante puede suministrar un binario EFI PE malicioso a través de TFTP, USB, tarjeta SD o arranque de red para desencadenar un desbordamiento de búfer del montón o una lectura fuera de límites de la memoria del montón, logrando potencialmente la ejecución de código en el contexto del cargador de arranque.
References
| https://github.com/barebox/barebox | product | |
| https://github.com/barebox/barebox/releases/tag/v2026.04.0 | patch, release-notes | |
| https://www.vulncheck.com/advisories/barebox-efi-pe-loader-memory-safety-vulnerabilities | third-party-advisory | |
| https://y637f9qq2x.com/posts/barebox-sandbox-vulns/ | technical-description | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34963 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-34963 changed 2026-11-11 | Public domain |