{"id":"UBUNTU-CVE-2026-59679","details":"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.","modified":"2026-09-28T17:30:05.986288520Z","published":"2026-09-10T09:17:00Z","upstream":["CVE-2026-59679"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-59679"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-59679"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2026/08/05/1"}],"affected":[{"package":{"name":"libxfont2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libxfont2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.0.1-3~ubuntu16.04.1","1:2.0.1-3~ubuntu16.04.2","1:2.0.1-3~ubuntu16.04.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libxfont2","binary_version":"1:2.0.1-3~ubuntu16.04.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59679.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}