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-91186 Overview
CVE-2026-91186 is an out-of-bounds write vulnerability [CWE-125] in the Eclipse ThreadX GUIX PNG decoder. The decoder does not enforce chunk ordering in PNG files. A crafted PNG that places a second IHDR chunk after IDAT can rewrite image width, height, bit depth, and pixel depth after the pixel buffer has already been allocated. The row-filter reversal pass then uses the new dimensions to walk the old allocation, writing image bytes past its end. The decoder is enabled by default, and the buffer is allocated internally by GUIX, so applications cannot size it defensively.
Critical Impact
A malicious PNG delivered to a GUIX-based application triggers an out-of-bounds write that can corrupt adjacent memory and lead to arbitrary code execution on embedded devices.
Affected Products
- Eclipse ThreadX GUIX (PNG decoder component)
- Embedded applications linking the GUIX graphics library with PNG support compiled in
- Devices rendering untrusted PNG assets through GUIX
Discovery Timeline
- 2026-10-20 - CVE-2026-91186 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-91186
Vulnerability Analysis
The PNG specification requires exactly one IHDR chunk, placed first in the file. The GUIX chunk reader tracks whether an IDAT has been processed and whether a tRNS chunk has already supplied transparency, but it does not reject a second IHDR. When a crafted PNG places a duplicate IHDR after IDAT, the decoder overwrites the image geometry fields in its state structure.
By that point, GUIX has already allocated the pixel buffer based on the original IHDR dimensions and populated it from IDAT data. The subsequent row-filter reversal stage reads the updated width, height, bit depth, and pixel depth and iterates over what it believes is a larger image. Writes extend past the original allocation and corrupt adjacent heap memory.
Root Cause
The root cause is missing state validation in the chunk parser. The decoder enforces presence rules for some chunks but has no notion of chunk ordering or uniqueness for IHDR. Because GUIX owns the pixel buffer allocation, calling applications cannot pre-size the destination or validate dimensions on behalf of the library.
Attack Vector
Exploitation requires an attacker to deliver a malicious PNG to a GUIX-based application and have it rendered. The attack is local in CVSS terms and requires user interaction, consistent with embedded workflows such as loading images from removable media, firmware assets, or sideloaded content. Successful exploitation yields high impact to confidentiality, integrity, and availability of the device.
No public proof-of-concept exploit is listed for CVE-2026-91186. See the Eclipse ThreadX GUIX Security Advisory for technical details.
Detection Methods for CVE-2026-91186
Indicators of Compromise
- PNG files containing more than one IHDR chunk, or an IHDR chunk appearing after an IDAT chunk
- Unexpected crashes or heap corruption in processes linking the GUIX PNG decoder
- Firmware or application assets whose PNG resources fail validation against the PNG specification
Detection Strategies
- Scan image assets at build time for structural conformance to the PNG specification, rejecting files with duplicate or misordered IHDR chunks
- Instrument GUIX-based applications with heap guards or AddressSanitizer builds during QA to catch out-of-bounds writes in the PNG decoder
- Review telemetry from embedded devices for abnormal restarts or watchdog resets correlated with image rendering code paths
Monitoring Recommendations
- Alert on PNG assets introduced through firmware updates, OTA packages, or removable media that fail chunk-order validation
- Track crash reports from GUIX-based firmware and correlate with recently loaded image resources
- Monitor vendor advisories for the Eclipse ThreadX project and apply fixes as they are published
How to Mitigate CVE-2026-91186
Immediate Actions Required
- Inventory devices and firmware images that link the Eclipse ThreadX GUIX library with PNG support enabled
- Restrict PNG inputs to trusted, pre-validated assets until a patched GUIX build is deployed
- Rebuild and redeploy firmware with the fixed GUIX version once published by the Eclipse ThreadX project
Patch Information
Refer to the Eclipse ThreadX GUIX Security Advisory GHSA-gx8f-4rpc-4fjw for fixed versions and commit references. Apply the vendor-supplied patch that enforces single-IHDR and chunk-ordering rules in the PNG decoder.
Workarounds
- Disable the PNG decoder in the GUIX build configuration if the application does not require PNG rendering
- Pre-validate PNG assets in a hardened pipeline before shipping them to GUIX-based devices, rejecting files with duplicate IHDR chunks or IHDR after IDAT
- Limit image loading to signed firmware assets and block user-supplied PNGs from untrusted sources
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

