Critical Buffer Overflow Vulnerability in libxml2: Arbitrary Code Execution Risk

libxml2 Updated 28 Aug 2026

Summary

26/08/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:60394: Moderate: libxml2 security update. Affects libxml2 versions < 2.12.5-10.el10_2.3. Fixed in 2.12.5-10.el10_2.3. 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

libxml2 is a widely used development toolbox that provides the implementation of various XML standards. It is essential for applications that require XML parsing and manipulation. The library is integral to many software projects, making its security paramount. The recent vulnerability identified poses a significant risk to applications relying on libxml2, potentially allowing attackers to execute arbitrary code.

Vulnerability Detail

The vulnerability arises from a buffer overflow in the xmlcatalog utility of libxml2. This flaw can be exploited by an attacker to execute arbitrary code on the affected system. The issue is linked to improper handling of input data, which can lead to memory corruption. If successfully exploited, this vulnerability could allow an attacker to gain unauthorized access to the system, execute malicious code, or disrupt services.

How To Fix

Minimum fixed version

2.12.5-10.el10_2.3

This is the first release that contains the fix.

sudo dnf update libxml2

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

Workaround

As a temporary measure, users can limit the use of the xmlcatalog utility until the package is updated. Additionally, ensuring that input data is properly validated before processing can help mitigate the risk of exploitation.

Conclusion

The libxml2 vulnerability presents a serious risk due to the potential for arbitrary code execution. It is essential for users to update their packages to the latest version to mitigate this risk. By staying informed and proactive, users can protect their systems from exploitation.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

libxml2 is a development library that provides tools for parsing and manipulating XML documents. It is widely used in various applications for its robust XML handling capabilities.

The buffer overflow vulnerability in libxml2 allows an attacker to overwrite memory, potentially leading to arbitrary code execution on the affected system.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Failing to address this vulnerability could result in unauthorized access, data breaches, or system compromise, leading to severe security incidents.

Yes, Vulert provides a solution that monitors and alerts in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

2.12.5-10.el10_2.3

This is the first release that contains the fix.

sudo dnf update libxml2

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