Critical Security Flaws in libxml2: Addressing Multiple Vulnerabilities

libxml2 Updated 25 Sep 2026

Summary

24/09/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:71586: Important: libxml2 security update. Affects libxml2 versions < 2.12.5-10.el10_2.4. Fixed in 2.12.5-10.el10_2.4. 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 Your last release was probably never penetration tested 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 implements various XML standards, providing essential functionalities for parsing and manipulating XML documents. It is integral to many applications and libraries, making its security paramount. Recent vulnerabilities have been identified that could lead to severe consequences, including arbitrary code execution and data integrity issues.

Vulnerability Detail

The vulnerabilities in libxml2 stem from several critical flaws, including heap-based and stack-based buffer overflows, integer overflows in write callbacks, and improper handling of parseFlags. These issues can lead to arbitrary code execution, data corruption, information disclosure, and denial of service attacks. Specifically, CVE-2026-86138 and CVE-2026-86140 highlight the risks of buffer overflows, while CVE-2026-86143 and CVE-2026-86144 address data integrity and SSRF concerns. The presence of these vulnerabilities poses a significant threat to applications relying on libxml2, necessitating immediate attention.

How To Fix

Minimum fixed version

2.12.5-10.el10_2.4

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

If immediate patching is not feasible, consider implementing input validation and sanitization to mitigate the risk of exploitation. Additionally, restrict access to the affected components until the update can be applied.

Conclusion

The vulnerabilities in libxml2 present significant risks that can lead to severe consequences for applications relying on this library. It is crucial to update to the latest patched version and implement best practices for security to mitigate these risks effectively.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

libxml2 is a development library that provides tools for parsing and manipulating XML documents, widely used in various applications.

The main vulnerabilities include heap-based and stack-based buffer overflows, integer overflows, and improper handling of parseFlags, leading to potential arbitrary code execution and data integrity issues.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If an immediate update is not possible, implement input validation and restrict access to the affected components as a temporary workaround.

For detailed information about the vulnerabilities, refer to the CVE pages linked in the advisory or consult the official libxml2 documentation.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

2.12.5-10.el10_2.4

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