Critical Security Update for libxml2: Addressing Vulnerability CVE-2025-12447

libxml2 Updated 02 Oct 2025

Summary

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

RHSA-2025:12447: Red Hat Security Advisory: libxml2 security update. Affects libxml2 versions < 0:2.9.13-11.el9_6. Fixed in 0:2.9.13-11.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 and HTML documents. It is integral to many applications and systems, offering features such as validation, XPath support, and document manipulation. However, recent vulnerabilities have raised concerns about its security, necessitating timely updates to safeguard systems that rely on this library.

Vulnerability Detail

The vulnerability identified in libxml2, designated as CVE-2025-12447, stems from improper handling of certain XML inputs, which could lead to memory corruption. This flaw can be exploited by attackers to execute arbitrary code, potentially compromising the integrity and confidentiality of affected systems. The vulnerability has a CVSS score of 7.8, indicating a high severity level that requires immediate attention.

How To Fix

Minimum fixed version

0:2.9.13-11.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 input data to libxml2 to prevent exploitation until the update is applied. Additionally, consider implementing input validation to mitigate potential risks.

Conclusion

The libxml2 vulnerability CVE-2025-12447 poses a significant risk to systems utilizing this library. It is crucial for users to update to the patched version to mitigate potential exploitation. By following the outlined steps and utilizing tools like Vulert, users can enhance their security posture against such vulnerabilities.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

libxml2 is an open-source library used for parsing XML and HTML documents, providing essential functionalities for applications that require XML processing.

CVE-2025-12447 is a vulnerability in libxml2 that can lead to memory corruption, allowing attackers to execute arbitrary code on affected systems.

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

The CVSS score for CVE-2025-12447 is 7.8, indicating a high severity level that requires prompt action.

If immediate updates are not possible, limit the input data to libxml2 and implement strict input validation as a temporary workaround.

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-11.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