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.
References
| Link | Resource |
|---|---|
| https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-59679 |
Configurations
No configuration.
History
No history.
Information
Published : 2026-09-10 09:17
Updated : 2026-09-10 15:43
NVD link : CVE-2026-59679
Mitre link : CVE-2026-59679
CVE.ORG link : CVE-2026-59679
JSON object : View
Products Affected
No product.
CWE
CWE-787
Out-of-bounds Write
