Moderate Security Update for libxml2: Out-of-Bounds Read Vulnerabilities

libxml2 Updated 02 Oct 2025

Summary

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

ALSA-2025:13428: Moderate: libxml2 security update. Affects libxml2 versions < 2.9.13-12.el9_6. Fixed in 2.9.13-12.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 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, providing essential functionalities for parsing and manipulating XML documents. It is integral to many applications and libraries that rely on XML processing. However, vulnerabilities in libxml2 can lead to severe security risks, including potential data leaks or application crashes, making it crucial to maintain updated versions.

Vulnerability Detail

The libxml2 library has been identified to contain out-of-bounds read vulnerabilities, specifically CVE-2025-32414 and CVE-2025-32415. These vulnerabilities arise from improper handling of XML data, which can allow attackers to exploit the library's functionality, potentially leading to unauthorized access to sensitive information or application instability. The vulnerabilities were introduced in earlier versions and have been addressed in the latest updates.

How To Fix

Minimum fixed version

2.9.13-12.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

If immediate updating is not feasible, consider implementing input validation to sanitize XML data before processing it with libxml2. This can help mitigate the risk of exploitation until the library can be updated.

Conclusion

The libxml2 library has critical vulnerabilities that need to be addressed promptly. Updating to the latest patched version is essential to maintain the security and stability of applications that depend on this library. Regular monitoring and validation practices can further enhance security.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

The vulnerabilities include CVE-2025-32414, which involves an out-of-bounds read, and CVE-2025-32415, which relates to out-of-bounds reads in xmlSchemaIDCFillNodeTables.

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

Exploiting these vulnerabilities can lead to unauthorized data access, application crashes, or other security breaches, posing significant risks to applications relying on libxml2.

Yes, implementing input validation to sanitize XML data can help reduce the risk of exploitation until the library is updated.

It is recommended to regularly check for updates and security advisories for all libraries, especially those handling sensitive data, to ensure you are protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

2.9.13-12.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