CVE-2026-34963

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pengutronix:barebox:*:*:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (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.

18 Jul 2026, 03:16

Type Values Removed Values Added
References
  • () https://y637f9qq2x.com/posts/barebox-sandbox-vulns/ -

13 May 2026, 19:44

Type Values Removed Values Added
CPE cpe:2.3:a:pengutronix:barebox:*:*:*:*:*:*:*:*
First Time Pengutronix barebox
Pengutronix
References () https://github.com/barebox/barebox - () https://github.com/barebox/barebox - Product
References () https://github.com/barebox/barebox/releases/tag/v2026.04.0 - () https://github.com/barebox/barebox/releases/tag/v2026.04.0 - Release Notes
References () https://www.vulncheck.com/advisories/barebox-efi-pe-loader-memory-safety-vulnerabilities - () https://www.vulncheck.com/advisories/barebox-efi-pe-loader-memory-safety-vulnerabilities - Third Party Advisory

11 May 2026, 23:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-11 23:19

Updated : 2026-11-11 20:10


NVD link : CVE-2026-34963

Mitre link : CVE-2026-34963

CVE.ORG link : CVE-2026-34963


JSON object : View

Products Affected

pengutronix

  • barebox
CWE
CWE-190

Integer Overflow or Wraparound