Description
Libdisplay-info 0.4.0 contains a heap out-of-bounds read vulnerability in the DisplayID v2 section parser in displayid2.c that allows attackers to read past the EDID buffer via oversized data block lengths. Attackers can supply a crafted EDID from a malicious monitor, KVM, capture device, or file to over-advance the parse cursor and crash applications.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
emersion libdisplay-info
Default version status: unaffected
0.4.0affected
References
- https://hackmd.io/@haindpwn/libdisplay-info-displayid-datablock-overrun-oob-read ↗
- https://gitlab.freedesktop.org/emersion/libdisplay-info/-/blob/0.4.0/displayid2.c#L84-L143 ↗
- https://gitlab.freedesktop.org/emersion/libdisplay-info ↗
- https://www.vulncheck.com/advisories/libdisplay-info-0.4.0-heap-out-of-bounds-read-via-displayid-v2-parser ↗