Critical Security Vulnerability in libxml2: Update Required

libxml2 Updated 02 Oct 2025

Summary

10/07/2025
N/A
Yes i
Critical
9.1

RHSA-2025:10699: Red Hat Security Advisory: libxml2 security update. Affects libxml2 versions < 0:2.9.13-10.el9_6. Fixed in 0:2.9.13-10.el9_6. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

libxml2 is a widely used XML parsing library that provides a range of functionalities for processing XML documents. It is integral to many applications and systems, offering features such as validation, transformation, and querying of XML data. The library is known for its performance and compliance with standards, making it a popular choice among developers. However, recent findings have revealed a critical security vulnerability that affects multiple versions of libxml2, necessitating immediate attention from users and administrators.

Vulnerability Detail

The vulnerability in libxml2 stems from improper handling of certain XML inputs, which could lead to memory corruption. This issue can be exploited by attackers to execute arbitrary code, potentially compromising the integrity and confidentiality of the affected systems. The vulnerability has a CVSS score of 9.1, indicating a high severity level. If left unaddressed, it could result in severe consequences, including unauthorized access to sensitive data and disruption of services.

How To Fix

Minimum fixed version

0:2.9.13-10.el9_6

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 exposure of applications that utilize libxml2 by restricting access to untrusted XML inputs. Additionally, running applications in a controlled environment may help mitigate the risk until the update is applied.

Conclusion

The libxml2 vulnerability presents a critical risk that requires immediate action from users and administrators. By updating to the patched version and implementing recommended workarounds, the potential impact of this vulnerability can be significantly reduced. Staying informed and proactive is essential in maintaining the security of systems that rely on libxml2.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

libxml2 is an XML parsing library that provides tools for reading, manipulating, and writing XML documents. It is widely used in various applications for its performance and compliance with XML standards.

A CVSS score of 9.1 indicates a critical vulnerability that poses a significant risk to systems. It suggests that the vulnerability can be easily exploited and may lead to severe consequences.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

If an immediate update is not possible, consider implementing workarounds such as restricting access to untrusted XML inputs and running applications in a controlled environment to mitigate risks.

Detailed information about the vulnerability can be found in the Red Hat Security Advisory RHSA-2025:10699, which outlines the affected packages and the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0:2.9.13-10.el9_6

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