Moderate Security Vulnerability in libxml2: Infinite Recursion Issue

libxml2 Updated 30 Apr 2026

Summary

28/04/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:11349: Moderate: libxml2 security update. Affects libxml2 versions < 2.9.7-21.el8_10.4. Fixed in 2.9.7-21.el8_10.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 provides an implementation of various XML standards. It is essential for applications that require XML parsing and manipulation. The library is known for its performance and flexibility, making it a popular choice among developers. However, vulnerabilities in such critical libraries can lead to severe security risks, including application crashes and potential exploitation.

Vulnerability Detail

The vulnerability identified in libxml2 is related to an infinite recursion issue in the exsltDynMapFunction function located in libexslt/dynamic.c. This flaw can lead to excessive resource consumption, potentially causing applications to crash or become unresponsive. The vulnerability is tracked under CVE-2025-9714 and poses a moderate risk to systems utilizing affected versions of the library.

How To Fix

Minimum fixed version

2.9.7-21.el8_10.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

As a temporary workaround, consider limiting the input size or complexity of XML documents processed by the library to mitigate the risk of triggering the infinite recursion issue until the update can be applied.

Conclusion

The libxml2 library has a moderate security vulnerability that can lead to infinite recursion, potentially causing application crashes. It is crucial to update to the latest patched version to mitigate this risk. Users are encouraged to monitor their applications for vulnerabilities using tools like Vulert.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

The vulnerability involves an infinite recursion issue that can lead to application crashes due to excessive resource consumption.

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

If exploited, this vulnerability can cause applications to crash or become unresponsive, leading to denial of service.

Yes, a patch is available in version 2.9.7-21.el8_10.4 and later. Updating to this version will resolve the issue.

If immediate updating is not possible, consider implementing input size limitations or complexity checks on XML documents processed by libxml2.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

2.9.7-21.el8_10.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