Skip to content

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

CriticalCVSS 9.2 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
DebianRed Hat

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.

Upgrade path

98 packages: 96 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
debian/libxfont(Debian 12) = 1:2.0.6-1; = 1:2.0.6-1+deb12u1; = 1:2.0.6-1+hurd.1; = 1:2.0.6-2 +3 more No fix listed No fix yet
debian/libxfont(Debian 13) = 1:2.0.6-1; = 1:2.0.6-1+deb13u1; = 1:2.0.6-1+hurd.1; = 1:2.0.6-2 +3 more No fix listed No fix yet
azure linux libXfont2(Azure Linux 3.0) < 2.0.9-1 2.0.9-1 Fixed
debian/libxfont(Debian 14) < 1:2.0.9-1; = 1:2.0.6-1; = 1:2.0.6-1+hurd.1; = 1:2.0.6-2 +1 more 1:2.0.9-1 Fixed
libXfont2 >= ?, <= 2.0.8 after 2.0.8 Fixed
redhat/libXfont2(Red Hat enterprise_linux 10.2) < 2.0.6-5.el10_2.3 2.0.6-5.el10_2.3 Fixed
redhat/libXfont2(Red Hat enterprise_linux 8) < 2.0.3-2.el8_10.3 2.0.3-2.el8_10.3 Fixed
redhat/libXfont2(Red Hat enterprise_linux 9) < 2.0.3-12.el9_8.3 2.0.3-12.el9_8.3 Fixed
redhat/libXfont2(Red Hat enterprise_linux_eus 10.0) < 2.0.6-5.el10_0.2 2.0.6-5.el10_0.2 Fixed
redhat/libXfont2(Red Hat rhel_aus 8.4) < 2.0.3-2.el8_4.2 2.0.3-2.el8_4.2 Fixed
redhat/libXfont2(Red Hat rhel_aus 8.6) < 2.0.3-2.el8_6.2 2.0.3-2.el8_6.2 Fixed
redhat/libXfont2(Red Hat rhel_e4s 8.8) < 2.0.3-2.el8_8.2 2.0.3-2.el8_8.2 Fixed
redhat/libXfont2(Red Hat rhel_e4s 9.2) < 2.0.3-12.el9_2.3 2.0.3-12.el9_2.3 Fixed
redhat/libXfont2(Red Hat rhel_e4s 9.4) < 2.0.3-12.el9_4.3 2.0.3-12.el9_4.3 Fixed
redhat/libXfont2(Red Hat rhel_els 7) < 2.0.3-3.el7_9 2.0.3-3.el7_9 Fixed
redhat/libXfont2(Red Hat rhel_eus 9.6) < 2.0.3-12.el9_6.3 2.0.3-12.el9_6.3 Fixed
redhat/libXfont2(Red Hat rhel_eus_long_life 8.4) < 2.0.3-2.el8_4.2 2.0.3-2.el8_4.2 Fixed
redhat/libXfont2(Red Hat rhel_eus_long_life 8.6) < 2.0.3-2.el8_6.2 2.0.3-2.el8_6.2 Fixed
redhat/libXfont2(Red Hat rhel_tus 8.8) < 2.0.3-2.el8_8.2 2.0.3-2.el8_8.2 Fixed
SUSE Container suse/kiosk/tigervnc-x11vnc:1.14-63.8 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1 Fixed
SUSE Container suse/kiosk/xorg:21.1-83.7 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1 Fixed
SUSE Image SLES-SAP-Azure >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1 Fixed
SUSE Image SLES-SAP-Azure-3P >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1 Fixed
SUSE Image SLES-SAP-BYOS-Azure >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1 Fixed
SUSE Image SLES-SAP-BYOS-EC2 >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1 Fixed
SUSE Image SLES-SAP-BYOS-GCE >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1 Fixed
SUSE Image SLES-SAP-GCE >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1 Fixed
SUSE Image SLES-SAP-GCE-3P >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1 Fixed
SUSE Image SLES-SAPCAL-GCE >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1 Fixed
SUSE Image SLES12-SP5-Azure-SAP-BYOS >= ?, < 2.0.3-3.6.1 2.0.3-3.6.1 Fixed

… and 68 more packages.

Affected products

ProductAffected versionsFixed in
SUSE Container suse/kiosk/tigervnc-x11vnc:1.14-63.8 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Container suse/kiosk/xorg:21.1-83.7 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Azure-3P >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-BYOS >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-BYOS-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-BYOS-EC2 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-BYOS-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-EC2 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-BYOS >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-BYOS-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-BYOS-EC2 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-BYOS-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-EC2 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAPCAL >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAPCAL-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAPCAL-EC2 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAPCAL-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Azure-3P >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
Show 89 more
ProductAffected versionsFixed in
SUSE Image SLES15-SP7-SAP-BYOS-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-BYOS-EC2 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-BYOS-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-EC2 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-GCE-3P >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-BYOS-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-BYOS-EC2 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-BYOS-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAPCAL-Azure >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAPCAL-EC2 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAPCAL-GCE >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Image SLES-SAP-Azure >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Image SLES-SAP-Azure-3P >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Image SLES-SAP-BYOS-Azure >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Image SLES-SAP-BYOS-EC2 >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Image SLES-SAP-BYOS-GCE >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Image SLES-SAP-GCE >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Image SLES-SAP-GCE-3P >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Image SLES-SAPCAL-GCE >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Image SLES12-SP5-Azure-SAP-BYOS >= ?, < 2.0.3-3.6.1 2.0.3-3.6.1
SUSE Image SLES12-SP5-Azure-SAP-On-Demand >= ?, < 2.0.3-3.6.1 2.0.3-3.6.1
SUSE Image SLES12-SP5-EC2-SAP-BYOS >= ?, < 2.0.3-3.6.1 2.0.3-3.6.1
SUSE Image SLES12-SP5-EC2-SAP-On-Demand >= ?, < 2.0.3-3.6.1 2.0.3-3.6.1
SUSE Image SLES12-SP5-GCE-SAP-BYOS >= ?, < 2.0.3-3.6.1 2.0.3-3.6.1
SUSE Image SLES12-SP5-GCE-SAP-On-Demand >= ?, < 2.0.3-3.6.1 2.0.3-3.6.1
SUSE Liberty Linux 10 >= ?, < 2.0.6-5.el10_2.3 2.0.6-5.el10_2.3
SUSE Liberty Linux 8 >= ?, < 2.0.3-2.el8_10.3 2.0.3-2.el8_10.3
SUSE Liberty Linux 9 >= ?, < 2.0.3-12.el9_8.3 2.0.3-12.el9_8.3
SUSE Linux Enterprise Desktop 15 SP7 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise Module for Basesystem 15 SP7 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise Server 15 SP7 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise Server for SAP Applications 15 SP7 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise Server 12 SP5-LTSS >= ?, < 2.0.3-3.6.1 2.0.3-3.6.1
SUSE Linux Enterprise Server 15 SP4-LTSS >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise Server 15 SP5-LTSS >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise Server 15 SP6-LTSS >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise Server 16.0 >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Linux Enterprise Server for SAP applications 16.0 >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 >= ?, < 2.0.3-3.6.1 2.0.3-3.6.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Manager Proxy LTS 4.3 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Manager Retail Branch Server LTS 4.3 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE Manager Server LTS 4.3 >= ?, < 2.0.3-150000.3.6.1 2.0.3-150000.3.6.1
SUSE openSUSE Leap 16.0 >= ?, < 2.0.7-160000.5.1 2.0.7-160000.5.1
SUSE openSUSE Tumbleweed >= ?, < 2.0.7-3.1 2.0.7-3.1
libXfont2 >= ?, <= 2.0.8 No fix listed
redhat/libXfont2(Red Hat:enterprise_linux:10.2) < 2.0.6-5.el10_2.3 2.0.6-5.el10_2.3
redhat/libXfont2(Red Hat:enterprise_linux_eus:10.0) < 2.0.6-5.el10_0.2 2.0.6-5.el10_0.2
redhat/libXfont2(Red Hat:rhel_els:7) < 2.0.3-3.el7_9 2.0.3-3.el7_9
redhat/libXfont2(Red Hat:enterprise_linux:8) < 2.0.3-2.el8_10.3 2.0.3-2.el8_10.3
redhat/libXfont2(Red Hat:rhel_aus:8.4) < 2.0.3-2.el8_4.2 2.0.3-2.el8_4.2
redhat/libXfont2(Red Hat:rhel_eus_long_life:8.4) < 2.0.3-2.el8_4.2 2.0.3-2.el8_4.2
redhat/libXfont2(Red Hat:rhel_aus:8.6) < 2.0.3-2.el8_6.2 2.0.3-2.el8_6.2
redhat/libXfont2(Red Hat:rhel_eus_long_life:8.6) < 2.0.3-2.el8_6.2 2.0.3-2.el8_6.2
redhat/libXfont2(Red Hat:rhel_tus:8.8) < 2.0.3-2.el8_8.2 2.0.3-2.el8_8.2
redhat/libXfont2(Red Hat:rhel_e4s:8.8) < 2.0.3-2.el8_8.2 2.0.3-2.el8_8.2
redhat/libXfont2(Red Hat:enterprise_linux:9) < 2.0.3-12.el9_8.3 2.0.3-12.el9_8.3
redhat/libXfont2(Red Hat:rhel_e4s:9.2) < 2.0.3-12.el9_2.3 2.0.3-12.el9_2.3
redhat/libXfont2(Red Hat:rhel_e4s:9.4) < 2.0.3-12.el9_4.3 2.0.3-12.el9_4.3
redhat/libXfont2(Red Hat:rhel_eus:9.6) < 2.0.3-12.el9_6.3 2.0.3-12.el9_6.3
debian/libxfont(Debian:12) All versions No fix listed
debian/libxfont(Debian:12) = 1:2.0.6-1 No fix listed
debian/libxfont(Debian:12) = 1:2.0.6-1+deb12u1 No fix listed
debian/libxfont(Debian:12) = 1:2.0.6-1+hurd.1 No fix listed
debian/libxfont(Debian:12) = 1:2.0.6-2 No fix listed
debian/libxfont(Debian:12) = 1:2.0.8-1 No fix listed
debian/libxfont(Debian:12) = 1:2.0.9-1 No fix listed
debian/libxfont(Debian:13) All versions No fix listed
debian/libxfont(Debian:13) = 1:2.0.6-1 No fix listed
debian/libxfont(Debian:13) = 1:2.0.6-1+deb13u1 No fix listed
debian/libxfont(Debian:13) = 1:2.0.6-1+hurd.1 No fix listed
debian/libxfont(Debian:13) = 1:2.0.6-2 No fix listed
debian/libxfont(Debian:13) = 1:2.0.8-1 No fix listed
debian/libxfont(Debian:13) = 1:2.0.9-1 No fix listed
debian/libxfont(Debian:14) < 1:2.0.9-1 1:2.0.9-1
debian/libxfont(Debian:14) = 1:2.0.6-1 No fix listed
debian/libxfont(Debian:14) = 1:2.0.6-1+hurd.1 No fix listed
debian/libxfont(Debian:14) = 1:2.0.6-2 No fix listed
debian/libxfont(Debian:14) = 1:2.0.8-1 No fix listed
azure linux libXfont2(Azure Linux:3.0) < 2.0.9-1 2.0.9-1

References