CVE-2026-59679CWE-787

CVE-2026-59679

Critical · published September 10, 2026

CVSS v3.1
9.0
EPSS
0%
Percentile
16.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
9.2 · CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00256 · 16.4th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2026-09-10T13:17Z
References (1)
EPSS history
Timeline
  • 11 SEP 03:18Z
    EPSS moved — → 0%
    epss
  • 10 SEP 08:15Z
    fs_read_glyphs() heap OOB read/write via encoding array index mismatch in libXfont2
    cvelistv5