Description
A flaw was found in the libXfont2 font-server client. This heap buffer overflow vulnerability allows a malicious font server to send specially crafted glyph data. The fs_read_glyphs() function fails to properly validate the total size of the incoming data, leading to an overwrite of memory beyond the intended buffer. If the X server runs as a privileged user, this could result in privilege escalation, allowing an attacker to gain higher access. If the X server runs as an unprivileged user, it could lead to a denial of service, causing the system to crash.
Published: n/a
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the libXfont2 font-server client allows a malicious font server to send specially crafted glyph data, causing a heap buffer overflow. The overflow occurs when fs_read_glyphs() does not validate the total size of incoming data, resulting in memory corruption beyond its intended buffer. If the X server runs with elevated privileges, this corruption can be leveraged to execute arbitrary code or elevate privileges. If the server runs as an unprivileged user, the overflow could cause a denial of service by crashing the X server.

Affected Systems

This vulnerability affects systems that use the libXfont2 font server client, part of the libxfonts2 package. No specific version numbers are provided in the advisory; however, any installation of libXfont2 before the fix is potentially impacted.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity risk. While an EPSS score is not available, the lack of a CISA KEV listing does not negate the potential for exploitation. The attack would require an attacker to control or supply a malicious font server that communicates with the targeted X server, which could be local or remote depending on network configuration. The resulting privilege escalation or denial of service would affect the entire system depending on the privileges of the X server process.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest libXfont2 update that includes the heap buffer overflow fix.
  • Run the X server with the lowest privileges possible, avoiding privileged execution contexts.
  • Restrict or isolate connections to the font server so that only trusted clients can request glyph data.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Description A flaw was found in the libXfont2 font-server client. This heap buffer overflow vulnerability allows a malicious font server to send specially crafted glyph data. The fs_read_glyphs() function fails to properly validate the total size of the incoming data, leading to an overwrite of memory beyond the intended buffer. If the X server runs as a privileged user, this could result in privilege escalation, allowing an attacker to gain higher access. If the X server runs as an unprivileged user, it could lead to a denial of service, causing the system to crash.
Title libxfonts2: libXfont2: Privilege Escalation via Heap Buffer Overflow in Font Server Client
Weaknesses CWE-120
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-44950 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')