CVE catalog

CVE-2026-59679

libxfont: CVE-2026-59679

[CVE catalog]

Severity
Critical · CVSS 9.2CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.26% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibxfontsid1:2.0.9-1fixed
Debianlibxfontforky1:2.0.9-1fixed
Debianlibxfonttrixie1:2.0.6-1+deb13u1vulnerable
Debianlibxfonttrixie-security1:2.0.6-1+deb13u1vulnerable
Debianlibxfontbookworm1:2.0.6-1vulnerable
Debianlibxfontbookworm-security1:2.0.6-1+deb12u1vulnerable
Ubuntulibxfont216.041:2.0.1-3~ubuntu16.04.1vulnerable
Ubuntulibxfont216.041:2.0.1-3~ubuntu16.04.2vulnerable
Ubuntulibxfont216.041:2.0.1-3~ubuntu16.04.3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibxfontsourcesid1:2.0.9-1unimportantNot reportedNot reported
Debianlibxfontsourceforky1:2.0.9-1unimportantNot reportedNot reported
Debianlibxfontsourcetrixie(unfixed)unimportantNot reportedNot reported
Debianlibxfontsourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libxfont2]Affected

    Source package: [libxfont]

    Details (4)
    • 1:2.0.6-1 · amd64 · bookworm

      Affected

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1 · arm64 · bookworm

      Affected

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

  • [libxfont-dev]Affected

    Source package: [libxfont]

    Details (4)
    • 1:2.0.6-1 · amd64 · bookworm

      Affected

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1 · arm64 · bookworm

      Affected

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

[Debian 13 (Trixie)]

  • [libxfont2]Affected

    Source package: [libxfont]

    Details (4)
    • 1:2.0.6-1+b3 · amd64 · trixie

      Affected

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+b3 · arm64 · trixie

      Affected

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+deb13u1 · amd64 · trixie-security

      Affected

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+deb13u1 · arm64 · trixie-security

      Affected

      dsa · libxfont · debian · 13

  • [libxfont-dev]Affected

    Source package: [libxfont]

    Details (4)
    • 1:2.0.6-1+b3 · amd64 · trixie

      Affected

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+b3 · arm64 · trixie

      Affected

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+deb13u1 · amd64 · trixie-security

      Affected

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+deb13u1 · arm64 · trixie-security

      Affected

      dsa · libxfont · debian · 13

Observed:

References