libXfont2 heap buffer overflow in pcfReadFont() before 2.0.8 (X exec)
CVE-2026-56002 Published on July 8, 2026
libXfont2 PCF Font Parsing Heap Buffer Overflow
A heap bufferflow in pcfReadFont() due to missing glyph bounds checking in libXfont2 before 2.0.8 allows attackers authenticated as X client to execute code within the X server.
Vulnerability Analysis
CVE-2026-56002 is exploitable with network access, and requires small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
Heap-based Buffer Overflow
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Products Associated with CVE-2026-56002
Want to know whenever a new CVE is published for Xorg Libxfont2? stack.watch will email you.
Affected Versions
X.Org libXfont2:- Before 2.0.8 is affected.