Skip to main content
Vulnerability Database/CVE-2026-111132

CVE-2026-111132: GNOME libgxps Buffer Overflow Vulnerability

CVE-2026-111132 is a heap out-of-bounds read flaw in GNOME libgxps that allows attackers to crash applications and expose heap memory. This post explains its technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111132 Overview

CVE-2026-111132 is a heap out-of-bounds read [CWE-125] in GNOME libgxps through version 0.3.2. The flaw lives in path_geometry_start_element() inside libgxps/gxps-path.c and is triggered when parsing PolyBezierSegment or PolyQuadraticBezierSegment elements of an XPS document. When an attacker supplies a Points attribute whose point count is not divisible by three (for cubic Bézier) or two (for quadratic Bézier), the parser reads past the allocated buffer. Downstream consumers such as the Evince document viewer can crash and may render adjacent heap memory into the output.

Critical Impact

A crafted XPS file processed by libgxps causes a heap out-of-bounds read that can crash viewers like Evince and leak adjacent heap memory into rendered output.

Affected Products

  • GNOME libgxps through 0.3.2
  • Evince and other document viewers that link against libgxps
  • Linux distributions shipping libgxps 0.3.2 or earlier

Discovery Timeline

  • 2026-10-15 - CVE-2026-111132 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111132

Vulnerability Analysis

The vulnerability is a heap out-of-bounds read that occurs during XPS path geometry parsing. libgxps is the GNOME library that renders XML Paper Specification (XPS) documents. The parser handles PolyBezierSegment and PolyQuadraticBezierSegment elements by iterating across the Points list in fixed-size groups: three points per cubic Bézier segment and two points per quadratic segment. The code assumes the number of parsed points is a clean multiple of that group size and does not validate the arity before indexing into the underlying array.

An attacker who crafts an XPS document with a Points count that is not divisible by the expected group size forces the loop to read beyond the allocated point buffer. The out-of-bounds values are then passed to Cairo path construction routines, where they can crash the consuming process or be rasterized into the final output, exposing adjacent heap memory to the attacker-controlled rendering.

Root Cause

The root cause is missing input validation on the parsed point count inside path_geometry_start_element(). The function dereferences point array indices under the assumption that the attacker-supplied Points attribute conforms to the required arity of the segment type. See the vulnerable regions in gxps-path.c lines 776-785 and gxps-path.c lines 832-848.

Attack Vector

Exploitation requires local user interaction. The victim must open a malicious XPS file in an application that links against libgxps, such as Evince. There is no network attack vector and no authentication requirement. The attacker gains the ability to crash the viewer or to read adjacent heap memory that is then rendered into the displayed or exported document. See the detailed write-up at HackMD Analysis of libgxps and the VulnCheck Advisory on libgxps.

No verified exploit code is published. The vulnerability is described in prose at the references above; see the GNOME libgxps Repository for the affected source.

Detection Methods for CVE-2026-111132

Indicators of Compromise

  • XPS or OpenXPS documents containing PolyBezierSegment or PolyQuadraticBezierSegment elements with Points attributes whose coordinate count is not divisible by three or two respectively.
  • Unexpected crashes of evince or other libgxps-linked processes immediately after opening an XPS file.
  • Rendered XPS output that contains visual artifacts resembling uninitialized or stale memory content.

Detection Strategies

  • Statically scan inbound XPS attachments for malformed Points arity in poly-segment elements before delivery to users.
  • Hunt for process-crash telemetry involving evince, libgxps.so, or related document viewers correlated with XPS file opens.
  • Enable AddressSanitizer or heap-check instrumentation in test environments to catch out-of-bounds reads in path_geometry_start_element().

Monitoring Recommendations

  • Monitor endpoint telemetry for repeated or clustered crashes of document viewers linked against libgxps.
  • Track delivery of .xps and .oxps files through email gateways and web proxies for triage.
  • Alert on execution of unusual document viewer processes spawned by browsers or mail clients.

How to Mitigate CVE-2026-111132

Immediate Actions Required

  • Inventory systems with libgxps 0.3.2 or earlier installed and identify applications that depend on it.
  • Restrict handling of untrusted XPS documents until a patched package is available from your distribution.
  • Instruct users not to open XPS files from unverified sources, including email attachments and web downloads.

Patch Information

At the time of publication, no fixed upstream release of libgxps is referenced in the advisory. Track the GNOME libgxps Repository and the VulnCheck Advisory on libgxps for a security release and apply distribution updates once published.

Workarounds

  • Remove or disable libgxps on systems that do not require XPS rendering.
  • Associate .xps and .oxps file types with a sandboxed or read-only viewer isolated from sensitive data.
  • Convert XPS documents to PDF using an isolated conversion host before distributing them to end users.
bash
# Example: remove libgxps-linked viewer support on Debian/Ubuntu until patched
sudo apt-get remove --purge libgxps2 evince
# Verify the library is no longer present
dpkg -l | grep -i libgxps

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.