---
id: CVE-2026-103414
title: >-
  The GUIX binary resource (theme) loader sizes its arena and populates it in
  two separate passes that traverse the resource file with independent cursor
  arithmetic
summary: >-
  The GUIX binary resource (theme) loader sizes its arena and populates it in
  two separate passes that traverse the resource file with independent cursor
  arithmetic. Because `gx_page_header_data_size` is never validated against the
  glyph d…
severity: none
cwe:
  - CWE-787
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T18:17:19.637'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103414'
references:
  - url: >-
      https://github.com/eclipse-threadx/guix/security/advisories/GHSA-m2f3-cv9x-68q7
    label: emo@eclipse.org
  - url: 'https://gitlab.eclipse.org/security/cve-assignment/-/work_items/358'
    label: emo@eclipse.org
tags:
  - nvd
ingestedAt: '2026-10-14T18:47:39.306Z'
---

## Overview

The GUIX binary resource (theme) loader sizes its arena and populates it in two separate passes that traverse the resource file with independent cursor arithmetic. Because `gx_page_header_data_size` is never validated against the glyph data a page actually contains, the two passes can read different page headers for the same font page, derive different glyph counts, and reserve less than the load pass writes. The excess is written past the end of the arena, with content taken verbatim from the file.



The overflowed buffer is allocated by GUIX itself, through `_gx_system_memory_allocator`, rather than supplied by the caller. The public API `gx_binres_theme_load()` takes no size parameter, so no amount of caller diligence prevents this.



Reproduces in the shipped default configuration; `GX_BINARY_RESOURCE_SUPPORT` is enabled by default.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
