---
id: CVE-2026-34963
title: >-
  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 siz…
summary: >-
  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 siz…
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-190
vendor: pengutronix
product: barebox
affected:
  - barebox < 2026.04.0
patched:
  - barebox 2026.04.0
published: '2026-05-11'
updated: '2026-07-18'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-34963'
references:
  - url: 'https://github.com/barebox/barebox'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/barebox/barebox/releases/tag/v2026.04.0'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/barebox-efi-pe-loader-memory-safety-vulnerabilities
    label: disclosure@vulncheck.com
  - url: 'https://y637f9qq2x.com/posts/barebox-sandbox-vulns/'
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00155
epssPercentile: 0.05102
ingestedAt: '2026-07-18T03:20:40.515Z'
---

## Overview

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

- `barebox < 2026.04.0`

## Remediation

Upgrade past the affected range:

- `barebox 2026.04.0`
