fs_read_glyphs() heap OOB read/write via encoding array index mismatch in libXfont2
CVE-2026-59679 is fixed in 5 products on 1 platform, first by SUSE-SU-2026:3500-1, released August 5, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libXfont2 · RHEL 10 | 2.0.6-5.el10_0.2 | RHSA-2026:62123 | Aug 17, 2026 |
| libXfont2 · RHEL 8 | 0:2.0.3-2.el8_10.3 | RHSA-2026:55446 | Aug 19, 2026 |
| libXfont2 · RHEL 9 | 0:2.0.3-12.el9_8.3 | RHSA-2026:55447 | Aug 19, 2026 |
| libXfont2 · almalinux 10 | 2.0.6-5.el10_2.3 | ALSA-2026:55448 | Aug 17, 2026 |
| libXfont2 · almalinux 8 | 2.0.3-2.el8_10.3 | ALSA-2026:55446 | Aug 17, 2026 |
| libXfont2 · almalinux 9 | 2.0.3-12.el9_8.3 | ALSA-2026:55447 | Aug 17, 2026 |
| libXfont2 · amzn 2023 | 2.0.7-1.amzn2023.0.3 | ALAS2023-2026-2112 | Aug 31, 2026 |
| libXfont2 · ol 10 | 0:2.0.6-5.el10_2.3 | ELSA-2026-55448 | Aug 17, 2026 |
| libXfont2 · ol 8 | 0:2.0.3-2.el8_10.3 | ELSA-2026-55446 | Aug 17, 2026 |
| libXfont2 · ol 9 | 0:2.0.3-12.el9_8.3 | ELSA-2026-55447 | Aug 17, 2026 |
| libXfont2 · opensuse-leap 16.0 | 2.0.7-160000.5.1 | OPENSUSE-SU-2026:21539-1 | Aug 6, 2026 |
| libXfont2 · rocky 10 | 0:2.0.6-5.el10_2.3 | RLSA-2026:55448 | Aug 17, 2026 |
| libXfont2 · rocky 8 | 0:2.0.3-2.el8_10.3 | RLSA-2026:55446 | Aug 17, 2026 |
| libXfont2 · rocky 9 | 0:2.0.3-12.el9_8.3 | RLSA-2026:55447 | Aug 17, 2026 |
| libXfont2 · sles 15.6 | 2.0.3-150000.3.6.1 | SUSE-SU-2026:3500-1 | Aug 5, 2026 |
| libXfont2 · sles 15.7 | 2.0.3-150000.3.6.1 | SUSE-SU-2026:3500-1 | Aug 5, 2026 |
| libXfont2 · sles 16.0 | 2.0.7-160000.5.1 | SUSE-SU-2026:23151-1 | Aug 6, 2026 |
| libXfont2-debuginfo · amzn 2023 | 2.0.7-1.amzn2023.0.3 | ALAS2023-2026-2112 | Aug 31, 2026 |
| libXfont2-debugsource · amzn 2023 | 2.0.7-1.amzn2023.0.3 | ALAS2023-2026-2112 | Aug 31, 2026 |
| libXfont2-devel · RHEL 8 | 0:2.0.3-2.el8_10.3 | RHSA-2026:55446 | Aug 19, 2026 |
| libXfont2-devel · RHEL 9 | 0:2.0.3-12.el9_8.3 | RHSA-2026:55447 | Aug 19, 2026 |
| libXfont2-devel · almalinux 10 | 2.0.6-5.el10_2.3 | ALSA-2026:55448 | Aug 17, 2026 |
| libXfont2-devel · almalinux 8 | 2.0.3-2.el8_10.3 | ALSA-2026:55446 | Aug 17, 2026 |
| libXfont2-devel · almalinux 9 | 2.0.3-12.el9_8.3 | ALSA-2026:55447 | Aug 17, 2026 |
| libXfont2-devel · amzn 2023 | 2.0.7-1.amzn2023.0.3 | ALAS2023-2026-2112 | Aug 31, 2026 |
| libXfont2-devel · ol 10 | 0:2.0.6-5.el10_2.3 | ELSA-2026-55448 | Aug 17, 2026 |
| libXfont2-devel · ol 8 | 0:2.0.3-2.el8_10.3 | ELSA-2026-55446 | Aug 17, 2026 |
| libXfont2-devel · ol 9 | 0:2.0.3-12.el9_8.3 | ELSA-2026-55447 | Aug 17, 2026 |
| libxfont · Debian 14 | 1:2.0.9-1 | DEBIAN-CVE-2026-59679 | Aug 10, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.