Critical Security Update for libxml2: Addressing Multiple Vulnerabilities

libxml2 Updated 02 Oct 2025

Summary

09/07/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:10698: Important: libxml2 security update. Affects libxml2 versions < 2.9.7-21.el8_10.1. Fixed in 2.9.7-21.el8_10.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

libxml2 is a widely used development toolbox that implements various XML standards, enabling applications to parse and manipulate XML documents efficiently. It is essential for many software projects that require XML processing capabilities. However, recent vulnerabilities have been identified that could compromise the security and stability of applications relying on this library.

Vulnerability Detail

The vulnerabilities in libxml2 include a heap use after free (UAF) issue leading to denial of service (DoS), a type confusion vulnerability also resulting in DoS, and an integer overflow in the xmlBuildQName() function that can lead to a stack buffer overflow. These vulnerabilities can be exploited by attackers to crash applications or execute arbitrary code, posing significant risks to system integrity and availability.

How To Fix

Minimum fixed version

2.9.7-21.el8_10.1

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, if updating the package is not immediately possible, consider isolating the affected applications from untrusted input or limiting their execution environment to mitigate potential exploitation.

Conclusion

The identified vulnerabilities in libxml2 pose significant risks to applications that rely on this library for XML processing. It is imperative to update to the latest patched version to ensure the security and stability of your software. Utilizing tools like Vulert can help monitor for such vulnerabilities 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 vulnerabilities include heap use after free, type confusion, and integer overflow leading to potential denial of service and stack buffer overflow.

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

Failing to address these vulnerabilities can lead to application crashes, unauthorized access, and potential exploitation by attackers, compromising system security.

It is recommended to regularly check for updates and apply them promptly, especially when security vulnerabilities are disclosed.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

2.9.7-21.el8_10.1

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