Critical Security Update for libXfont2: Addressing Integer Overflow and Buffer Overflow Vulnerabilities

libXfont2 Updated 06 Aug 2026

Summary

28/07/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:47084: Important: libXfont2 security update. Affects libXfont2 versions < 2.0.3-12.el9_8.1. Fixed in 2.0.3-12.el9_8.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libXfont2 is a runtime library used in the X.Org X11 system, which is responsible for handling font files and rendering text in graphical environments. This library is essential for applications that rely on X11 for graphical output, making it a critical component in many Linux distributions, including AlmaLinux. The vulnerabilities in libXfont2 can lead to severe security risks, including potential system crashes and unauthorized access to sensitive data.

Vulnerability Detail

The vulnerabilities identified in libXfont2 include an Integer Overflow Heap Buffer Overflow (CVE-2026-56001) and a PCF Font Parsing Heap Buffer Overflow (CVE-2026-56002). These vulnerabilities arise from improper handling of font files, which can be exploited by attackers to execute arbitrary code or crash the application. The ramifications of these vulnerabilities are significant, as they can compromise the integrity and security of systems utilizing this library, potentially allowing attackers to gain elevated privileges.

How To Fix

Minimum fixed version

2.0.3-12.el9_8.1

This is the first release that contains the fix.

sudo dnf update libXfont2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit the use of applications that rely on libXfont2 until the update is applied. Additionally, consider using alternative font rendering libraries if feasible.

Conclusion

The vulnerabilities in libXfont2 pose significant security risks that can affect the integrity of systems using this library. It is essential to apply the available patches promptly to safeguard against potential exploits. Users are encouraged to utilize tools like Vulert for real-time monitoring of vulnerabilities in their software.

See every vulnerability recorded for libXfont2 →

Share this vulnerability

FAQ

The vulnerabilities include an Integer Overflow Heap Buffer Overflow and a PCF Font Parsing Heap Buffer Overflow, which can lead to arbitrary code execution and application crashes.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

Exploiting these vulnerabilities can allow attackers to execute arbitrary code, potentially leading to unauthorized access and control over the affected systems.

Yes, a patch is available. Update to version 2.0.3-12.el9_8.1 of libXfont2 and libXfont2-devel to mitigate the vulnerabilities.

If immediate updates are not possible, limit the use of applications relying on libXfont2 and consider alternative libraries until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for libXfont2.

How To Fix

Minimum fixed version

2.0.3-12.el9_8.1

This is the first release that contains the fix.

sudo dnf update libXfont2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback