CVE-2026-56003
Received Received - Intake

Heap Buffer Overflow in libXfont2 Due to PCF Parsing

Vulnerability report for CVE-2026-56003, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-08

Last updated on: 2026-07-08

Assigner: SUSE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-08
Last Modified
2026-07-08
Generated
2026-07-08
AI Q&A
2026-07-08
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
libxfont2 libxfont2 to 2.0.8 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a heap buffer overflow caused by missing size checking in the property buffer when parsing PCF files in the libXfont2 library's ComputeScaledProperties() function. It affects versions of libXfont2 before 2.0.8.

An attacker who has authenticated access as an X client can exploit this flaw to execute arbitrary code within the X server.

Impact Analysis

Exploitation of this vulnerability can allow an attacker with authenticated access to the X server to execute arbitrary code with the privileges of the X server process.

This can lead to a complete compromise of the affected system, including unauthorized access, data modification, or denial of service.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade libXfont2 to version 2.0.8 or later, where the heap buffer overflow issue in ComputeScaledProperties() has been fixed.

Additionally, restrict or monitor the use of authenticated X clients to prevent attackers from loading specially crafted PCF fonts that could exploit this vulnerability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56003. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart