CVE-2026-34961
JSON

6.9medium

barebox ext4 Extent Parsing Out-of-Bounds Read

Severity
6.9medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

barebox prior to version 2026.04.0 contains out-of-bounds read vulnerabilities in ext4 extent parsing due to missing validation of the eh_entries field against buffer capacity in fs/ext4/ext4_common.c. Attackers can supply a malicious ext4 filesystem image via USB, SD card, or network boot to trigger heap out-of-bounds reads during boot-time filesystem parsing, potentially redirecting reads to arbitrary disk offsets.

Affected

Product or packageVersionsReported by
barebox bareboxbefore 2026.04.0CVE List
pengutronix bareboxbefore 2026.04.0NVD

All scores

VulnCheck6.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.7high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

barebox prior to version 2026.04.0 contains out-of-bounds read vulnerabilities in ext4 extent parsing due to missing validation of the eh_entries field against buffer capacity in fs/ext4/ext4_common.c. Attackers can supply a malicious ext4 filesystem image via USB, SD card, or network boot to trigger heap out-of-bounds reads during boot-time filesystem parsing, potentially redirecting reads to arbitrary disk offsets.

NVD (es)

barebox anterior a la versión 2026.04.0 contiene vulnerabilidades de lectura fuera de límites en el análisis de extensiones ext4 debido a la falta de validación del campo eh_entries contra la capacidad del búfer en fs/ext4/ext4_common.c. Los atacantes pueden suministrar una imagen maliciosa del sistema de archivos ext4 a través de USB, tarjeta SD o arranque de red para activar lecturas fuera de límites del heap durante el análisis del sistema de archivos en tiempo de arranque, redirigiendo potencialmente las lecturas a desplazamientos de disco arbitrarios.

References

Sources

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