CVE-2026-56001

libXfont2 BitmapScaleBitmaps Integer Overflow Heap Buffer Overflow

Published Jul 8, 2026 CVSS 3.1 · 8.5 High EPSS < 1% KEV · Not listed
Description
A heap buffer overflow in BitmapScaleBitmaps in libXfont2 before 2.0.8 due to an overflowing 32bit size could be used by attackers able to access the X Server to execute code within the X server cont

Analysis

AI-generated

Technical impact

The vulnerability is an integer overflow in the BitmapScaleBitmaps function of libXfont2 that causes a heap buffer overflow. When an attacker can send data to the X server, execution can occur under the server’s privileges. This flaw, classified as CWE‑122, carries a CVSS score of 8.5, indicating a serious impact on confidentiality, integrity, and availability.

Affected Systems

All versions of the X.Org libXfont2 library older than 2.0.8 are affected. The flaw exists in any installation that contains a pre‑2.0.8 build of libXfont2, as long as the X server is running.

Risk and Exploitability

Based on the description, the attack vector requires the ability to communicate with the X server, which can be achieved locally or by remote clients when the server accepts network connections. The CVSS score of 8.5 reflects a high risk of successful exploitation under typical conditions, yet the EPSS score of < 1% indicates that exploitation is currently rare. The vulnerability is not listed in the CISA KEV catalogue, so no widespread active exploitation has been reported. Nonetheless, the high severity and the fact that the flaw can be triggered by any client that has access to the server make it a critical threat for systems exposed to remote or untrusted clients.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libXfont2 to version 2.0.8 or newer to apply the overflow fix.
  • If an immediate upgrade is not feasible, restrict the X server to accept connections only from trusted local clients or disable remote X connections to limit exposure.
  • Ensure all X clients use proper Xauthority authentication and operate with the least privilege necessary to mitigate the risk of privilege escalation through the overflow.

Generated by OpenCVE AI on August 1, 2026 at 16:36 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
Type Values Removed Values Added
First Time appeared X.org
X.org libxfont
Vendors & Products X.org
X.org libxfont
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A heap buffer overflow in BitmapScaleBitmaps in libXfont2 before 2.0.8 due to an overflowing 32bit size could be used by attackers able to access the X Server to execute code within the X server cont
Title libXfont2 BitmapScaleBitmaps Integer Overflow Heap Buffer Overflow
Weaknesses CWE-122
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'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
suse
Published
Updated
Jul 9, 2026, 3:55 AM
Reserved
Jun 18, 2026, 9:26 AM
Status
Analyzed
Published
Jul 8, 2026, 9:16 AM
Modified
Oct 25, 2026, 8:10 PM
Severity
Important
Public date
Jul 8, 2026, 12:00 AM