Critical severity9.0NVD Advisory· Published Sep 10, 2026
CVE-2026-59679
CVE-2026-59679
Description
fs_read_glyphs() in the libXfont2 font-server client (src/fc/fserve.c) indexes the per-character encoding[] array using num_chars from the FS_QueryXBitmaps16 reply, but that array was allocated with a size derived from num_extents in the separate FS_QueryXExtents16 reply. The two CARD32 fields are never cross-checked. A malicious or compromised font server can send a small num_extents (e.g. 1) in the extents reply, then a large num_chars (e.g. 100000) in the bitmaps reply. This causes attacker-controlled out-of-bounds heap read and writes.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
5- osv-coords4 versionspkg:rpm/almalinux/libXfont2pkg:rpm/almalinux/libXfont2-develpkg:rpm/opensuse/libXfont2&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/libXfont2&distro=openSUSE%20Tumbleweed
< 2.0.3-2.el8_10.3+ 3 more
- (no CPE)range: < 2.0.3-2.el8_10.3
- (no CPE)range: < 2.0.3-2.el8_10.3
- (no CPE)range: < 2.0.7-160000.5.1
- (no CPE)range: < 2.0.7-3.1
Patches
Vulnerability mechanics
References
1News mentions
0No linked articles in our index yet.