Description
A heap buffer overflow due to missing size checking in the property buffer when parsing PCF files in libXfont2 ComputeScaledProperties() before libXfont2 before 2.0.8 could be used by attackers using authenticated X clients to execute code within the X server.
Published: 2026-07-08
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap buffer overflow is triggered when libXfont2 parses PCF font files in its ComputeScaledProperties function. The bug stems from a missing size check on the property buffer, allowing an attacker to overwrite heap memory and gain arbitrary code execution in the X server process. This flaw is classified as a buffer overflow, identified as CWE-122, and could compromise confidentiality, integrity, and availability of the affected system.

Affected Systems

The vulnerability affects the X.Org libXfont2 component in all releases before version 2.0.8. Systems that run an older library and allow authenticated X clients to load PCF fonts are susceptible to exploitation. All such affected installations are at risk if they are exposed to any client capable of crafting a malicious PCF file,

Risk and Exploitability

The CVSS score of 8.5 reflects high severity, while the EPSS score of less than 1% indicates a very low probability of exploitation at this time; the flaw is not listed in the CISA KEV catalog. Exploitation requires an authenticated X client that can supply a crafted PCF file, which then triggers the overflow and runs code at the privilege level of the X server. The attack vector is therefore an authenticated local or network client that can interact with the server.

Generated by OpenCVE AI on July 29, 2026 at 14:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libXfont2 to version 2.0.8 or later to apply the necessary bounds checks.
  • Disable loading of PCF font files by untrusted clients or configure the server to deny such operations.
  • Restrict access to the X server by using appropriate client authentication mechanisms and limiting the server’s exposure to untrusted network connections.

Generated by OpenCVE AI on July 29, 2026 at 14:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4678-1 libxfont security update
Debian DSA Debian DSA DSA-6388-1 libxfont security update
Ubuntu USN Ubuntu USN USN-8560-1 libXfont vulnerabilities
History

Fri, 10 Jul 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared X.org libxfont
Vendors & Products X.org libxfont

Wed, 08 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
Description A heap buffer overflow due to missing size checking in the property buffer when parsing PCF files in libXfont2 ComputeScaledProperties() before libXfont2 before 2.0.8 could be used by attackers using authenticated X clients to execute code within the X server.
Title libXfont2 computeProps Property Buffer Heap Buffer Overflow
First Time appeared X.org
X.org libxfont2
Weaknesses CWE-122
CPEs cpe:2.3:a:x.org:libxfont2:*:*:*:*:*:*:*:*
Vendors & Products X.org
X.org libxfont2
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

X.org Libxfont Libxfont2
cve-icon MITRE

Status: PUBLISHED

Assigner: suse

Published:

Updated: 2026-07-09T03:55:47.539Z

Reserved: 2026-06-18T09:26:55.988Z

Link: CVE-2026-56003

cve-icon Vulnrichment

Updated: 2026-07-08T12:06:44.417Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T14:45:02Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow