Vulnerability · Published Sep 10, 2026 · Assigned by suse
CVE-2026-59679fs_read_glyphs() heap OOB read/write via encoding array index mismatch in libXfont2
Critical 9.0
In plain English
A critical-severity out-of-bounds write in Container suse/kiosk/tigervnc-x11vnc:1.14-63.8 from SUSE. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | libXfont2 | 2.0.6-5.el10_2.3 | ALSA-2026:55448 |
| AlmaLinux:8 | libXfont2 | 2.0.3-2.el8_10.3 | ALSA-2026:55446 |
| AlmaLinux:9 | libXfont2 | 2.0.3-12.el9_8.3 | ALSA-2026:55447 |
| AlmaLinux:10 | libXfont2-devel | 2.0.6-5.el10_2.3 | ALSA-2026:55448 |
| AlmaLinux:8 | libXfont2-devel | 2.0.3-2.el8_10.3 | ALSA-2026:55446 |
| AlmaLinux:9 | libXfont2-devel | 2.0.3-12.el9_8.3 | ALSA-2026:55447 |
| Debian:12 | libxfont | no fix listed | DEBIAN-CVE-2026-59679 |
| Debian:13 | libxfont | no fix listed | DEBIAN-CVE-2026-59679 |
| Debian:14 | libxfont | 1:2.0.9-1 | DEBIAN-CVE-2026-59679 |
| Rocky Linux:10 | libXfont2 | 0:2.0.6-5.el10_2.3 | RLSA-2026:55448 |
| Rocky Linux:8 | libXfont2 | 0:2.0.3-2.el8_10.3 | RLSA-2026:55446 |
| Rocky Linux:9 | libXfont2 | 0:2.0.3-12.el9_8.3 | RLSA-2026:55447 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H