Critical Security Advisory: libxml2 Vulnerability Update

libxml2 Updated 02 Oct 2025

Summary

07/08/2025
N/A
Yes i
High
7.8

RHSA-2025:13314: Red Hat Security Advisory: libxml2 security update. Affects libxml2 versions < 0:2.9.13-3.el9_2.8. Fixed in 0:2.9.13-3.el9_2.8. 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 XML parsing library that provides a range of functionalities for processing XML and HTML documents. It is known for its performance, flexibility, and compliance with standards. However, vulnerabilities in libxml2 can lead to severe security risks, including data corruption and unauthorized access, making it crucial for users to maintain updated versions.

Vulnerability Detail

The vulnerability in libxml2 stems from improper handling of XML data, which can be exploited by attackers to execute arbitrary code or cause denial of service. This issue is particularly concerning as it affects various applications relying on libxml2 for XML processing. The CVSS score of this vulnerability is 7.8, indicating a high severity level that necessitates immediate attention.

How To Fix

Minimum fixed version

0:2.9.13-3.el9_2.8

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 updating is not feasible, consider disabling features that utilize libxml2 or restricting access to applications that depend on it until the update can be applied.

Conclusion

The libxml2 vulnerability poses significant risks to applications relying on this library for XML processing. Users are strongly advised to update to the patched version to mitigate potential threats. Utilizing tools like Vulert can enhance your ability to monitor and manage vulnerabilities effectively.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

libxml2 is an XML parsing library used for reading, modifying, and writing XML and HTML documents.

Exploiting this vulnerability can lead to arbitrary code execution, data corruption, or denial of service.

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

Consider disabling features that use libxml2 or restricting access to affected applications until you can apply the update.

Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in your software.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

0:2.9.13-3.el9_2.8

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