CVEfocus › CVE database › CVE-2026-59679

CVE-2026-59679fs_read_glyphs() heap OOB read/write via encoding array index mismatch in libXfont2

CVSS 9.0 CriticalEPSS 0.3% (higher than 11% of CVEs)Published 2026-09-10Updated 2026-09-10Assigner: suse

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.

CWE-787

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
1Fix pending
2Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libxfontNot affected
vulnerable_code_not_present
Ubuntu 24.04libxfontNot affected
vulnerable_code_not_present
Ubuntu 22.04libxfontNot affected
vulnerable_code_not_present
Ubuntu 16.04libxfont2Fix pendingUBUNTU-CVE-2026-59679
Debian 14libxfontFixed1:2.0.9-1DEBIAN-CVE-2026-59679
Debian 13libxfontWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-59679
Debian 12libxfontWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-59679
Red Hat Enterprise Linux 10libXfont2Fixed0:2.0.6-5.el10_2.3RHSA-2026:55448
Red Hat Enterprise Linux 10libXfont2-develFixed0:2.0.6-5.el10_2.3RHSA-2026:55448
Red Hat Enterprise Linux 9libXfont2Fixed0:2.0.3-12.el9_8.3RHSA-2026:55447
Red Hat Enterprise Linux 9libXfont2-develFixed0:2.0.3-12.el9_8.3RHSA-2026:55447
Red Hat Enterprise Linux 8libXfont2Fixed0:2.0.3-2.el8_10.3RHSA-2026:55446
Red Hat Enterprise Linux 8libXfont2-develFixed0:2.0.3-2.el8_10.3RHSA-2026:55446
AlmaLinux 10libXfont2Fixed2.0.6-5.el10_2.3ALSA-2026:55448
AlmaLinux 10libXfont2-develFixed2.0.6-5.el10_2.3ALSA-2026:55448
AlmaLinux 9libXfont2Fixed2.0.3-12.el9_8.3ALSA-2026:55447
AlmaLinux 9libXfont2-develFixed2.0.3-12.el9_8.3ALSA-2026:55447
AlmaLinux 8libXfont2Fixed2.0.3-2.el8_10.3ALSA-2026:55446
AlmaLinux 8libXfont2-develFixed2.0.3-2.el8_10.3ALSA-2026:55446
Rocky Linux 10libXfont2Fixed0:2.0.6-5.el10_2.3RLSA-2026:55448
Rocky Linux 9libXfont2Fixed0:2.0.3-12.el9_8.3RLSA-2026:55447
Rocky Linux 8libXfont2Fixed0:2.0.3-2.el8_10.3RLSA-2026:55446
Alpine Linux 3.24libxfont2Fixed2.0.10-r0ALPINE-CVE-2026-59679

What the vendor says

As published in the CVE record by suse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.