Vulnerability · Published Jul 8, 2026 · Assigned by suse

CVE-2026-56002libXfont2 PCF Font Parsing Heap Buffer Overflow

High 8.5

In plain English

A high-severity heap buffer overflow in libXfont2 from X.Org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.5High
Exploit odds (30 days)0.4%top 62.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10libXfont22.0.6-5.el10_2.1ALSA-2026:47079
AlmaLinux:8libXfont22.0.3-2.el8_10.1ALSA-2026:47103
AlmaLinux:9libXfont22.0.3-12.el9_8.1ALSA-2026:47084
AlmaLinux:10libXfont2-devel2.0.6-5.el10_2.1ALSA-2026:47079
AlmaLinux:8libXfont2-devel2.0.3-2.el8_10.1ALSA-2026:47103
AlmaLinux:9libXfont2-devel2.0.3-12.el9_8.1ALSA-2026:47084
Alpine:v3.24libxfont22.0.8-r0ALPINE-CVE-2026-56002
Debian:12libxfont1:2.0.6-1+deb12u1DEBIAN-CVE-2026-56002
Debian:13libxfont1:2.0.6-1+deb13u1DEBIAN-CVE-2026-56002
Debian:14libxfont1:2.0.8-1DEBIAN-CVE-2026-56002
Rocky Linux:10libXfont20:2.0.6-5.el10_2.1RLSA-2026:47079
Rocky Linux:8libXfont20:2.0.3-2.el8_10.1RLSA-2026:47103
Rocky Linux:9libXfont20:2.0.3-12.el9_8.1RLSA-2026:47084
Ubuntu:22.04:LTSlibxfont1:2.0.5-1ubuntu0.2UBUNTU-CVE-2026-56002
Ubuntu:22.04:LTSlibxfont1:2.0.5-1ubuntu0.2USN-8560-1
Ubuntu:24.04:LTSlibxfont1:2.0.6-1+deb13u1build0.24.04.2UBUNTU-CVE-2026-56002
Ubuntu:24.04:LTSlibxfont1:2.0.6-1+deb13u1build0.24.04.2USN-8560-1
Ubuntu:25.10libxfontno fix listedUBUNTU-CVE-2026-56002
Ubuntu:26.04:LTSlibxfont1:2.0.6-2ubuntu0.2USN-8560-1
Ubuntu:26.04:LTSlibxfont1:2.0.6-2ubuntu0.2UBUNTU-CVE-2026-56002

Affected products (as reported)

VendorProductVersions
X.Org libXfont2 0 – before 2.0.8

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

References