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-112272 Overview
CVE-2026-112272 is a heap out-of-bounds read vulnerability in libdisplay-info version 0.4.0. The flaw resides in the DisplayID v2 section parser implemented in displayid2.c. The parser fails to validate data block length fields, allowing an oversized block to over-advance the parse cursor past the Extended Display Identification Data (EDID) buffer boundary. An attacker supplies a crafted EDID through a malicious monitor, Keyboard-Video-Mouse (KVM) switch, capture device, or file. The result is a read beyond the heap allocation, crashing the consuming application. The weakness is classified as [CWE-125] Out-of-Bounds Read.
Critical Impact
Applications parsing untrusted EDID data with libdisplay-info 0.4.0 can be crashed by attacker-controlled DisplayID v2 blocks, enabling local denial of service against display stacks and compositors.
Affected Products
- libdisplay-info 0.4.0
- Applications and compositors linking the DisplayID v2 parser in displayid2.c
- Systems ingesting EDID blobs from external monitors, KVMs, capture cards, or files
Discovery Timeline
- 2026-10-19 - CVE-2026-112272 published to the National Vulnerability Database (NVD)
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-112272
Vulnerability Analysis
The libdisplay-info library parses EDID and DisplayID structures that describe monitor capabilities. The DisplayID v2 parser in displayid2.c iterates over data blocks inside a 128-byte section. Each block carries a length field that the parser uses to advance its cursor. The implementation trusts this length without verifying it against the remaining bytes in the section buffer. A block declaring a length larger than the available space causes subsequent reads to cross the end of the heap allocation. Downstream accessor functions then dereference memory outside the EDID buffer. The process consuming the parsed data terminates when the invalid read hits unmapped memory or triggers a heap canary. See the VulnCheck Advisory for libdisplay-info and the HackMD Analysis of the OOB Read for detailed walkthroughs.
Root Cause
The root cause is missing bounds validation on DisplayID v2 data block length fields in the parser loop at displayid2.c lines 84-143. The code advances the cursor by the attacker-supplied length without comparing the resulting offset against the section buffer end. Review the vulnerable logic in the GitLab Source Code for displayid2.c.
Attack Vector
Exploitation requires local presentation of a crafted EDID. An attacker connects a malicious monitor, KVM, or USB capture device, or supplies an EDID file to a tool that passes it to libdisplay-info. User interaction such as plugging in the device or opening the file is required. Successful exploitation produces an application crash. Confidentiality and integrity are not impacted; only availability is affected.
No verified public exploit code is available. The vulnerable code path is documented in the references above.
Detection Methods for CVE-2026-112272
Indicators of Compromise
- Unexpected crashes of display-related processes (compositors, display managers, color-management utilities) immediately following monitor hotplug or capture-device enumeration events.
- Kernel or userspace logs recording segmentation faults in processes linked against libdisplay-info.so version 0.4.0.
- EDID blobs sourced from /sys/class/drm/*/edid or user-supplied files whose DisplayID v2 section declares data block lengths exceeding the remaining section size.
Detection Strategies
- Inventory installed libdisplay-info package versions across Linux endpoints and flag hosts running 0.4.0.
- Monitor process termination events for binaries that import symbols from libdisplay-info and correlate with recent display or USB device-attach events.
- Run AddressSanitizer-instrumented builds in test environments against collected EDID samples to surface out-of-bounds reads before production exposure.
Monitoring Recommendations
- Enable crash reporting (systemd-coredump, apport) and alert on repeated crashes referencing libdisplay-info frames.
- Audit udev and drm event logs for anomalous EDID content on shared workstations and KVM-connected systems.
- Track installations of untrusted display peripherals, particularly on multi-tenant lab or kiosk hardware.
How to Mitigate CVE-2026-112272
Immediate Actions Required
- Identify all systems running libdisplay-info 0.4.0 and prioritize those exposed to untrusted monitors, KVMs, or capture devices.
- Restrict physical and USB access to shared workstations until a patched build is deployed.
- Avoid parsing EDID files received from untrusted sources with tools that depend on the vulnerable library.
Patch Information
At the time of NVD publication, no fixed release is referenced in the advisory data. Monitor the GitLab Repository for libdisplay-info for a release superseding 0.4.0 that validates DisplayID v2 data block lengths against the remaining section buffer. Rebuild and redistribute downstream packages (compositors, display utilities) once a corrected version is published.
Workarounds
- Downgrade to a prior libdisplay-info release that does not include the DisplayID v2 parser, where feasible.
- Apply a local patch adding a bounds check that rejects any block whose declared length would advance the cursor past the section end.
- Use distribution-provided EDID overrides (drm.edid_firmware=) to force a known-good EDID on systems that connect to untrusted displays.
# Query installed libdisplay-info version on Debian/Ubuntu
dpkg -l | grep libdisplay-info
# Query installed libdisplay-info version on RHEL/Fedora
rpm -q libdisplay-info
# Force a known-good EDID via kernel command line (example)
# Place firmware at /lib/firmware/edid/known-good.bin
# Then add to kernel parameters:
# drm.edid_firmware=HDMI-A-1:edid/known-good.bin
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

