# CVE-2026-59679: fs\_read\_glyphs() heap OOB read/write via encoding array index mismatch in libXfont2

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-09-10 · Modified: 2026-09-10
- Aliases: UBUNTU-CVE-2026-59679, DEBIAN-CVE-2026-59679, ALPINE-CVE-2026-59679
- Record: https://cvemate.com/vulnerability/CVE-2026-59679 · JSON: https://cvemate.com/vulnerability/CVE-2026-59679/json

## Description

```text
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.
```

## Signals

- CVSS: 9.2 critical (v4.0, CVE.org) 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.256%, percentile 18.407%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 83)

- alpine libxfont2 (Alpine Linux): \< 2.0.10-r0
- debian libxfont (Debian): All versions (No fix recorded) \| \< 1:2.0.9-1
- ubuntu libxfont2 (Ubuntu): All versions (No fix recorded)
- libxfont2 libxfont2: ≥ ?, ≤ 2.0.8
- suse container suse/kiosk/tigervnc-x11vnc:1.14-63.8: ≥ ?, \< 2.0.3-150000.3.6.1
- suse container suse/kiosk/xorg:21.1-83.7: ≥ ?, \< 2.0.3-150000.3.6.1
- suse image sles-sap-azure: ≥ ?, \< 2.0.7-160000.5.1
- suse image sles-sap-azure-3p: ≥ ?, \< 2.0.7-160000.5.1
- suse image sles-sap-byos-azure: ≥ ?, \< 2.0.7-160000.5.1
- suse image sles-sap-byos-ec2: ≥ ?, \< 2.0.7-160000.5.1
- suse image sles-sap-byos-gce: ≥ ?, \< 2.0.7-160000.5.1
- suse image sles-sap-gce: ≥ ?, \< 2.0.7-160000.5.1
- suse image sles-sap-gce-3p: ≥ ?, \< 2.0.7-160000.5.1
- suse image sles-sapcal-gce: ≥ ?, \< 2.0.7-160000.5.1
- suse image sles12-sp5-azure-sap-byos: ≥ ?, \< 2.0.3-3.6.1
- suse image sles12-sp5-azure-sap-on-demand: ≥ ?, \< 2.0.3-3.6.1
- suse image sles12-sp5-ec2-sap-byos: ≥ ?, \< 2.0.3-3.6.1
- suse image sles12-sp5-ec2-sap-on-demand: ≥ ?, \< 2.0.3-3.6.1
- suse image sles12-sp5-gce-sap-byos: ≥ ?, \< 2.0.3-3.6.1
- suse image sles12-sp5-gce-sap-on-demand: ≥ ?, \< 2.0.3-3.6.1

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-59679>
- <https://ubuntu.com/security/CVE-2026-59679>
- <https://www.cve.org/CVERecord?id=CVE-2026-59679>
- <https://www.openwall.com/lists/oss-security/2026/08/05/1>
- <https://security-tracker.debian.org/tracker/CVE-2026-59679>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59679>
- <https://security.alpinelinux.org/vuln/CVE-2026-59679>

---

Data as of 2026-12-05T03:01:00.222Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
