Heap-based buffer overflow in libxfont2 - CVE-2026-56002
Published: July 20, 2026
Vulnerability identifier: #VU138436
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-56002
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the target system.
The vulnerability exists due to a boundary error within the pcfReadFont function. A local user can pass specially crafted data to the application, trigger a heap-based buffer overflow and gain elevated privileges on the target system.
Affected software
libxfont2
Debian Linux
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Ubuntu
Basesystem Module
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libxfont (Ubuntu package)
libXfont2 (Red Hat package)
libXfont2-doc
libXfont2-devel
libXfont2
libXfont2-2
libXfont2-2-debuginfo
libXfont2-debugsource
libXfont2-help
libXfont2-debuginfo
libxfont (Debian package)
Debian Linux
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Ubuntu
Basesystem Module
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libxfont (Ubuntu package)
libXfont2 (Red Hat package)
libXfont2-doc
libXfont2-devel
libXfont2
libXfont2-2
libXfont2-2-debuginfo
libXfont2-debugsource
libXfont2-help
libXfont2-debuginfo
libxfont (Debian package)
How to mitigate CVE-2026-56002
Install updates from vendor's website.
libxfont2 - update to 2.0.8
libxfont (Ubuntu package) - addressed in versions 1:1.4.7-1ubuntu0.4+esm2, 1:1.5.1-1ubuntu0.16.04.4+esm2, 1:2.0.3-1ubuntu0.1~esm2, 1:2.0.3-1ubuntu0.20.04.1~esm2, 1:2.0.5-1ubuntu0.2, 1:2.0.6-1+deb13u1build0.24.04.2, 1:2.0.6-2ubuntu0.2
libXfont2 (Red Hat package) - addressed in versions 2.0.3-2.el7_9, 2.0.3-2.el8_4.1, 2.0.3-2.el8_6.1, 2.0.3-2.el8_8.1, 2.0.3-12.el9_2.1, 2.0.3-12.el9_4.1, 2.0.3-12.el9_6.1, 2.0.6-5.el10_0.1
libXfont2-doc - addressed in versions 2.0.3-2.0.1, 2.0.8-1
libXfont2-devel - addressed in versions 2.0.3-2.0.1, 2.0.8-1
libXfont2 - addressed in versions 2.0.3-2.0.1, 2.0.8-1
libXfont2-2 - addressed in versions 2.0.3-3.3.1, 2.0.3-150000.3.3.1
libXfont2-2-debuginfo - addressed in versions 2.0.3-3.3.1, 2.0.3-150000.3.3.1
libXfont2-debugsource - addressed in versions 2.0.3-3.3.1, 2.0.3-150000.3.3.1
libXfont2-devel - update to 2.0.3-150000.3.3.1
libXfont2-help - update to 2.0.5-5
libXfont2-devel - update to 2.0.5-5
libXfont2-debugsource - update to 2.0.5-5
libXfont2-debuginfo - update to 2.0.5-5
libXfont2 - update to 2.0.5-5
libxfont (Debian package) - update to 1:2.0.6-1+deb13u1
libXfont2 - addressed in versions 2.0.8-1.fc43, 2.0.8-1.fc44
libxfont (Ubuntu package) - addressed in versions 1:1.4.7-1ubuntu0.4+esm2, 1:1.5.1-1ubuntu0.16.04.4+esm2, 1:2.0.3-1ubuntu0.1~esm2, 1:2.0.3-1ubuntu0.20.04.1~esm2, 1:2.0.5-1ubuntu0.2, 1:2.0.6-1+deb13u1build0.24.04.2, 1:2.0.6-2ubuntu0.2
libXfont2 (Red Hat package) - addressed in versions 2.0.3-2.el7_9, 2.0.3-2.el8_4.1, 2.0.3-2.el8_6.1, 2.0.3-2.el8_8.1, 2.0.3-12.el9_2.1, 2.0.3-12.el9_4.1, 2.0.3-12.el9_6.1, 2.0.6-5.el10_0.1
libXfont2-doc - addressed in versions 2.0.3-2.0.1, 2.0.8-1
libXfont2-devel - addressed in versions 2.0.3-2.0.1, 2.0.8-1
libXfont2 - addressed in versions 2.0.3-2.0.1, 2.0.8-1
libXfont2-2 - addressed in versions 2.0.3-3.3.1, 2.0.3-150000.3.3.1
libXfont2-2-debuginfo - addressed in versions 2.0.3-3.3.1, 2.0.3-150000.3.3.1
libXfont2-debugsource - addressed in versions 2.0.3-3.3.1, 2.0.3-150000.3.3.1
libXfont2-devel - update to 2.0.3-150000.3.3.1
libXfont2-help - update to 2.0.5-5
libXfont2-devel - update to 2.0.5-5
libXfont2-debugsource - update to 2.0.5-5
libXfont2-debuginfo - update to 2.0.5-5
libXfont2 - update to 2.0.5-5
libxfont (Debian package) - update to 1:2.0.6-1+deb13u1
libXfont2 - addressed in versions 2.0.8-1.fc43, 2.0.8-1.fc44
External References
Related Security Bulletins
- Multiple vulnerabilities in libxfont2
- Debian update for libxfont
- Fedora 44 update for libXfont2
- Fedora 43 update for libXfont2
- openEuler update for libXfont2
- SUSE update for libXfont2
- SUSE update for libXfont2
- Ubuntu update for libxfont
- Anolis OS update for libXfont2
- Anolis OS update for libXfont2
- Red Hat Enterprise Linux 9 update for libXfont2
- Red Hat Enterprise Linux 9 update for libXfont2
- Red Hat Enterprise Linux 8 update for libXfont2
- Red Hat Enterprise Linux 10 update for libXfont2
- Red Hat Enterprise Linux 9 update for libXfont2
- Red Hat Enterprise Linux 7 Extended Lifecycle Support update for libXfont2
- Red Hat Enterprise Linux 8 update for libXfont2
- Red Hat Enterprise Linux 8 update for libXfont2