9.0Critical

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

SUSE Container suse/kiosk/tigervnc-x11vnc:1.14-63.8; SUSE Container suse/kiosk/xorg:21.1-83.7; SUSE Image SLES15-SP6-SAP; SUSE Image SLES15-SP6-SAP-Azure Published: (2 months ago)

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.

Weakness (CWE): CWE-787

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
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
SUSE Image SLES15-SP6-SAP ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Azure-3P ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-BYOS ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-BYOS-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-BYOS-EC2 ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-BYOS-GCE ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-EC2 ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-GCE ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-BYOS ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-BYOS-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-BYOS-EC2 ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-BYOS-GCE ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-EC2 ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAP-Hardened-GCE ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAPCAL ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAPCAL-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAPCAL-EC2 ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP6-SAPCAL-GCE ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Azure-3P ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-BYOS-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-BYOS-EC2 ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-BYOS-GCE ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-EC2 ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-GCE ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-GCE-3P ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-BYOS-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-BYOS-EC2 ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-BYOS-GCE ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAP-Hardened-GCE ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAPCAL-Azure ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAPCAL-EC2 ? – < 2.0.3-150000.3.6.1
SUSE Image SLES15-SP7-SAPCAL-GCE ? – < 2.0.3-150000.3.6.1
SUSE SUSE Liberty Linux 10 ? – < 2.0.6-5.el10_2.3
SUSE SUSE Liberty Linux 8 ? – < 2.0.3-2.el8_10.3
SUSE SUSE Liberty Linux 9 ? – < 2.0.3-12.el9_8.3
SUSE SUSE Linux Enterprise Desktop 15 SP7 ? – < 2.0.3-150000.3.6.1
SUSE SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS ? – < 2.0.3-150000.3.6.1
SUSE SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS ? – < 2.0.3-150000.3.6.1
SUSE SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS ? – < 2.0.3-150000.3.6.1
SUSE SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS ? – < 2.0.3-150000.3.6.1
SUSE SUSE Linux Enterprise Module for Basesystem 15 SP7 ? – < 2.0.3-150000.3.6.1
SUSE SUSE Linux Enterprise Server 12 SP5-LTSS ? – < 2.0.3-3.6.1
SUSE SUSE Linux Enterprise Server 15 SP4-LTSS ? – < 2.0.3-150000.3.6.1
SUSE SUSE Linux Enterprise Server 15 SP5-LTSS ? – < 2.0.3-150000.3.6.1
SUSE SUSE Linux Enterprise Server 15 SP7 ? – < 2.0.3-150000.3.6.1
SUSE SUSE Linux Enterprise Server for SAP Applications 15 SP7 ? – < 2.0.3-150000.3.6.1

References and patches