SecurityContext

CVE-2026-59679: libXfont2 - Out-of-Bounds Read & Write

  • Cve: CVE-2026-59679
  • Name: libXfont2 - Out-of-Bounds Read & Write
  • 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.
  • Impact: A malicious font server can cause out-of-bounds heap read and write, leading to memory corruption and potential code execution or denial of service.
  • Remediation: Update to the latest version with proper bounds checking between FS_QueryXExtents16 and FS_QueryXBitmaps16 replies.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirements: Attacker must control or compromise the font server
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.00256
  • Epss percentile: 0.17424
  • Assignee: [email protected]
  • Published at: 2026-09-10T09:17:02Z
  • Age in days: 75
  • Modified at: 2026-09-10T15:43:03Z
  • References total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-59679
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

References

UrlSourceTags
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-59679nvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts