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-91057 Overview
CVE-2026-91057 is an out-of-bounds read [CWE-125] in the Eclipse ThreadX GUIX graphical user interface library. The function _gx_multi_line_text_view_display_info_get() reads one byte past the end of the application's text buffer when the input string terminates with a carriage return (\r). The over-read can also advance the caller's index past the string boundary, triggering a second over-read in _gx_multi_line_text_view_string_total_rows_compute() and rendering a spurious row of text not present in the source buffer.
Critical Impact
Local attackers who can supply crafted text to a GUIX multi-line text view can trigger out-of-bounds memory reads, potentially leaking adjacent memory contents and corrupting rendered output.
Affected Products
- Eclipse ThreadX GUIX library
- Embedded systems and devices using GUIX multi-line text view components
- Applications linking the vulnerable _gx_multi_line_text_view_* functions
Discovery Timeline
- 2026-10-20 - CVE-2026-91057 published to the National Vulnerability Database (NVD)
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-91057
Vulnerability Analysis
The flaw resides in GUIX's multi-line text rendering path. When _gx_multi_line_text_view_display_info_get() processes a string ending with a carriage return character (\r), it reads one byte beyond the allocated text buffer. The function fails to validate buffer bounds before dereferencing the next character, which is a classic out-of-bounds read condition described in [CWE-125].
The over-read has a cascading effect. The caller's index advances past the string terminator, causing _gx_multi_line_text_view_string_total_rows_compute() to perform a second out-of-bounds read. The miscalculated row count then produces an extra line of rendered text drawn from whatever adjacent memory the function happens to read.
Exploitation requires local access and user interaction, consistent with the attack vector described in the enriched data. Impact is limited to information exposure through adjacent memory disclosure and incorrect rendering behavior.
Root Cause
The root cause is missing boundary validation when the parser encounters a \r character at the end of the input buffer. GUIX treats carriage return as a line delimiter and advances to inspect the following byte, assuming the buffer continues. When the \r is the final character, that read falls outside the allocated region.
Attack Vector
An attacker supplies a text string ending in \r to a GUIX multi-line text view widget. The application must render the string for the condition to trigger. Successful exploitation discloses one or more bytes of adjacent heap or stack memory into the rendered output, depending on how the embedded application displays the extra row.
For technical specifics, see the GitHub Security Advisory GHSA-4qjc-2g93-36m2.
Detection Methods for CVE-2026-91057
Indicators of Compromise
- Unexpected characters, garbled glyphs, or extraneous rows appearing in GUIX multi-line text view widgets
- Application crashes or memory-protection faults when rendering strings terminated with \r
- Fuzzing harness reports flagging reads past buffer bounds in _gx_multi_line_text_view_* symbols
Detection Strategies
- Perform static analysis of GUIX source trees to identify unpatched copies of _gx_multi_line_text_view_display_info_get() and _gx_multi_line_text_view_string_total_rows_compute()
- Run AddressSanitizer or equivalent memory sanitizers against GUIX-linked firmware builds using carriage-return terminated test inputs
- Audit firmware software bills of materials (SBOMs) for Eclipse ThreadX GUIX components and compare against patched versions
Monitoring Recommendations
- Monitor embedded device logs for GUI subsystem faults, rendering anomalies, or watchdog resets tied to text view operations
- Track upstream Eclipse ThreadX GUIX repository advisories for additional related memory-safety fixes
- Instrument QA pipelines with regression tests that feed \r-terminated strings through all text view code paths
How to Mitigate CVE-2026-91057
Immediate Actions Required
- Inventory all embedded products and firmware images that integrate Eclipse ThreadX GUIX
- Apply the upstream patch referenced in GHSA-4qjc-2g93-36m2 and rebuild affected firmware
- Validate application code paths that pass externally sourced strings into GUIX multi-line text view widgets
Patch Information
The Eclipse ThreadX project has issued a fix tracked through GHSA-4qjc-2g93-36m2. Pull the latest GUIX sources from the official Eclipse ThreadX repository, rebuild firmware, and distribute updated images to affected devices through your standard OTA or service update process.
Workarounds
- Sanitize application input before passing strings to GUIX text view widgets by stripping or escaping trailing \r characters
- Wrap calls to _gx_multi_line_text_view_display_info_get() with length checks that reject strings whose final byte is \r
- Restrict which code paths can supply user-controlled text to multi-line text view components in safety-critical embedded applications
# Example input sanitization in C before passing to GUIX
size_t len = strlen(user_text);
if (len > 0 && user_text[len - 1] == '\r') {
user_text[len - 1] = '\0';
}
gx_multi_line_text_view_text_set(&text_view, user_text);
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

