cve.bz

CVE-2026-56002 x libxfont: Heap-based Buffer Overflow

8.8 highEPSS 0.4%Fix available

High (8.8) in x libxfont. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A heap bufferflow in pcfReadFont() due to missing glyph bounds checking in libXfont2 before 2.0.8  allows attackers authenticated as X client to execute code within the X server.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-56002 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-56002?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-56002?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-56002 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-56002

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-56002](https://cve.bz/cve/badge/CVE-2026-56002.svg)](https://cve.bz/cve/CVE-2026-56002)

HTML:

<a href="https://cve.bz/cve/CVE-2026-56002"><img src="https://cve.bz/cve/badge/CVE-2026-56002.svg" alt="CVE-2026-56002"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
X.Org libXfont2before 2.0.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libxfont1:2.0.6-1+deb12u1DEBIAN-CVE-2026-56002
Debian13libxfont1:2.0.6-1+deb13u1DEBIAN-CVE-2026-56002
Debian14libxfont1:2.0.8-1DEBIAN-CVE-2026-56002
Ubuntu16.04:LTSlibxfont2no fix listedUBUNTU-CVE-2026-56002
Ubuntu22.04:LTSlibxfont1:2.0.5-1ubuntu0.2UBUNTU-CVE-2026-56002 USN-8560-1
Ubuntu24.04:LTSlibxfont1:2.0.6-1+deb13u1build0.24.04.2UBUNTU-CVE-2026-56002 USN-8560-1
Ubuntu25.10libxfontno fix listedUBUNTU-CVE-2026-56002
Ubuntu26.04:LTSlibxfont1:2.0.6-2ubuntu0.2UBUNTU-CVE-2026-56002 USN-8560-1
UbuntuPro:14.04:LTSlibxfont1:1.4.7-1ubuntu0.4+esm2UBUNTU-CVE-2026-56002 USN-8560-1
UbuntuPro:16.04:LTSlibxfont1:1.5.1-1ubuntu0.16.04.4+esm2UBUNTU-CVE-2026-56002 USN-8560-1
UbuntuPro:18.04:LTSlibxfont1:2.0.3-1ubuntu0.1~esm2UBUNTU-CVE-2026-56002 USN-8560-1
UbuntuPro:20.04:LTSlibxfont1:2.0.3-1ubuntu0.20.04.1~esm2UBUNTU-CVE-2026-56002 USN-8560-1
Red Hatenterprise_linux:8::appstreamlibXfont2, libXfont2-debuginfo, libXfont2-debugsource0:2.0.3-2.el8_10.1RHSA-2026:47103
Red Hatenterprise_linux:8::crblibXfont2-devel, libXfont2-debuginfo, libXfont2-debugsource0:2.0.3-2.el8_10.1RHSA-2026:47103
Red Hatenterprise_linux:9::appstreamlibXfont2, libXfont2-debuginfo, libXfont2-debugsource0:2.0.3-12.el9_8.1RHSA-2026:47084
Red Hatenterprise_linux:9::crblibXfont2-devel, libXfont2-debuginfo, libXfont2-debugsource0:2.0.3-12.el9_8.1RHSA-2026:47084
Red Hatenterprise_linux:10.2libXfont2, libXfont2-devel, libXfont2-debuginfo and 1 more0:2.0.6-5.el10_2.1RHSA-2026:47079
Red Hatenterprise_linux_eus:10.0libXfont2, libXfont2-devel, libXfont2-debuginfo and 1 more0:2.0.6-5.el10_0.1RHSA-2026:51061
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibXfont2, libXfont2-debuginfo, libXfont2-debugsource0:2.0.3-2.el8_4.1RHSA-2026:51060
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamlibXfont2, libXfont2-debuginfo, libXfont2-debugsource0:2.0.3-2.el8_6.1RHSA-2026:51066
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamlibXfont2, libXfont2-debuginfo, libXfont2-debugsource0:2.0.3-2.el8_8.1RHSA-2026:51067
Red Hatrhel_e4s:9.2::appstreamlibXfont2, libXfont2-debuginfo, libXfont2-debugsource0:2.0.3-12.el9_2.1RHSA-2026:51062
Red Hatrhel_e4s:9.4::appstreamlibXfont2, libXfont2-debuginfo, libXfont2-debugsource0:2.0.3-12.el9_4.1RHSA-2026:51058
Red Hatrhel_els:7libXfont2, libXfont2-devel, libXfont2-debuginfo0:2.0.3-2.el7_9RHSA-2026:51063
2 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morelibXfont22.0.3-150000.3.3.1SUSE-SU-2026:2794-1
SUSELinux Enterprise Server 12 SP5-LTSSlibXfont22.0.3-3.3.1SUSE-SU-2026:2793-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libXfont22.0.7-160000.4.1SUSE-SU-2026:22614-1
openSUSELeap 16.0libXfont22.0.7-160000.4.1openSUSE-SU-2026:21284-1
openSUSETumbleweedlibXfont22.0.7-2.1openSUSE-SU-2026:11233-1
AlmaLinux8libXfont2, libXfont2-devel2.0.3-2.el8_10.1ALSA-2026:47103
AlmaLinux9libXfont2, libXfont2-devel2.0.3-12.el9_8.1ALSA-2026:47084
AlmaLinux10libXfont2, libXfont2-devel2.0.6-5.el10_2.1ALSA-2026:47079
Rocky Linux8libXfont20:2.0.3-2.el8_10.1RLSA-2026:47103
Rocky Linux9libXfont20:2.0.3-12.el9_8.1RLSA-2026:47084
Rocky Linux10libXfont20:2.0.6-5.el10_2.1RLSA-2026:47079
Alpinev3.24libxfont22.0.8-r0ALPINE-CVE-2026-56002
Azure Linux3libXfont22.0.8-1AZL-92087
Alpaquita23, 25, streamlibxfont22.0.8-r0BELL-CVE-2026-56002

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important flaw in libXfont2, affecting Red Hat Enterprise Linux. A heap buffer overflow during PCF font file parsing can lead to arbitrary code execution or denial of service. Exploitation requires processing a specially crafted font file, but does not necessitate rendering.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libXfont2-0:2.0.6-5.el10_2.1Fixed 2026-07-28RHSA-2026:47079
Red Hat Enterprise Linux 10.0 Extended Update SupportlibXfont2-0:2.0.6-5.el10_0.1Fixed 2026-08-06RHSA-2026:51061
Red Hat Enterprise Linux 7 Extended Lifecycle SupportlibXfont2-0:2.0.3-2.el7_9Fixed 2026-08-06RHSA-2026:51063
Red Hat Enterprise Linux 8libXfont2-0:2.0.3-2.el8_10.1Fixed 2026-07-28RHSA-2026:47103
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportlibXfont2-0:2.0.3-2.el8_4.1Fixed 2026-08-06RHSA-2026:51060
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnlibXfont2-0:2.0.3-2.el8_4.1Fixed 2026-08-06RHSA-2026:51060
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportlibXfont2-0:2.0.3-2.el8_6.1Fixed 2026-08-06RHSA-2026:51066
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnlibXfont2-0:2.0.3-2.el8_6.1Fixed 2026-08-06RHSA-2026:51066
Red Hat Enterprise Linux 8.8 Telecommunications Update ServicelibXfont2-0:2.0.3-2.el8_8.1Fixed 2026-08-06RHSA-2026:51067
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionslibXfont2-0:2.0.3-2.el8_8.1Fixed 2026-08-06RHSA-2026:51067
Red Hat Enterprise Linux 9libXfont2-0:2.0.3-12.el9_8.1Fixed 2026-08-03RHSA-2026:47084
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionslibXfont2-0:2.0.3-12.el9_2.1Fixed 2026-08-06RHSA-2026:51062
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionslibXfont2-0:2.0.3-12.el9_4.1Fixed 2026-08-06RHSA-2026:51058
Red Hat Enterprise Linux 9.6 Extended Update SupportlibXfont2-0:2.0.3-12.el9_6.1Fixed 2026-08-06RHSA-2026:51059

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-56002.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON