Description
A flaw was found in the libXfont2 font-server client. A remote attacker, by operating a malicious font server, could exploit an out-of-bounds read/write vulnerability. This occurs because the client incorrectly handles font data, leading to an out-of-bounds memory access. This can lead to privilege escalation if the X server runs with root privileges, or a denial of service (crash) if it runs as an unprivileged user.
Published: n/a
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The libXfont2 font-server client contains an out‑of‑bounds read/write flaw that is triggered when it processes font data received from an external font server. A remote attacker who can run a malicious font server can exploit this by sending crafted font data that causes the client to read or write memory beyond the allocated buffer. If the X server is running with elevated privileges, the corrupted memory can allow the attacker to elevate their own privileges on the host; if the X server runs as an unprivileged user, the overflow may simply crash the server resulting in a denial of service.

Affected Systems

The vulnerability affects the libXfont2 library used by X server implementations on Unix-like systems. No specific vendor product list or version numbers are listed, so all installations that employ the libXfont2 font‑server client and accept external fonts are potentially impacted.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, and while no EPSS value is available, the lack of a KEV listing suggests that widespread exploitation has not yet been observed. The likely attack vector is remote: an attacker must be able to control or supply a malicious font server that the victim’s X server will contact. The flaw requires the victim’s X server to load the defective font; therefore, systems that disable external font loading or run the X server with restricted permissions face a lower exploitation risk.

Generated by OpenCVE AI on August 6, 2026 at 13:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libXfont2 to the latest version that contains the fix for the out‑of‑bounds read/write bug.
  • Restrict the X server to use only trusted local fonts or disable external font server connections if possible, to prevent the client from receiving malicious font data.
  • Configure the X server to run under the least privilege necessary, reducing the impact of a privilege‑elevation exploit and limiting the service to a safe failure mode in case of denial of service.

Generated by OpenCVE AI on August 6, 2026 at 13:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-787

Thu, 06 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in the libXfont2 font-server client. A remote attacker, by operating a malicious font server, could exploit an out-of-bounds read/write vulnerability. This occurs because the client incorrectly handles font data, leading to an out-of-bounds memory access. This can lead to privilege escalation if the X server runs with root privileges, or a denial of service (crash) if it runs as an unprivileged user.
Title libxfont2: Font Server Client encoding[] Out-Of-Bounds Read/Write
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important


Subscriptions

No data.

cve-icon MITRE

No data.

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-05T10:00:00Z

Links: CVE-2026-59679 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T13:30:02Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write