CVE-2026-34963
JSON

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 packageVersionsReported by
barebox bareboxbefore 2026.04.0CVE List
pengutronix bareboxbefore 2026.04.0NVD

All scores

VulnCheck8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-190

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

Sources

SourceRecordLicence
CVE ListCVE-2026-34963 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-34963 changed 2026-11-11Public domain