Moderate: libxml2 security update

libxml2 Updated 02 Oct 2025

Summary

10/05/2024
N/A
Yes i
Unrated
Not published

RLSA-2024:2679: Moderate: libxml2 security update. Affects libxml2 versions < 0:2.9.13-6.el9_4. Fixed in 0:2.9.13-6.el9_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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The libxml2 library is a development toolbox providing the implementation of various XML standards. It is widely used in software development to parse and manipulate XML data. The library offers a range of functionalities, including XML parsing, validation, and XPath querying. However, a vulnerability has been discovered in libxml2 that could potentially lead to a use-after-free issue in the XMLReader component.

Vulnerability Detail

The vulnerability identified in libxml2 is a use-after-free issue in the XMLReader. A use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed, leading to potential memory corruption and exploitation. In this case, an attacker could craft a malicious XML file that triggers the use-after-free condition when parsed by an application utilizing libxml2. This could potentially result in arbitrary code execution or a denial of service (DoS) attack.

How To Fix

Minimum fixed version

0:2.9.13-6.el9_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

There is no known workaround for this vulnerability. It is essential to apply the security update to the libxml2 library as soon as possible to mitigate the risk of exploitation.

Conclusion

The libxml2 library is susceptible to a use-after-free vulnerability in the XMLReader component. This vulnerability could potentially allow an attacker to execute arbitrary code or launch a denial of service attack. It is highly recommended to update the libxml2 library to the latest version provided by the package maintainers to mitigate the risk. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

Libxml2 is a development toolbox for XML-related functionality, providing implementations of various XML standards.

A use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed, potentially leading to memory corruption and exploitation.

This vulnerability could allow an attacker to execute arbitrary code or cause a denial of service (DoS) attack.

To fix this vulnerability, update the libxml2 library to version 2.9.13-6.el9_4 or later.

No, there is no known workaround for this vulnerability. It is crucial to apply the security update.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

0:2.9.13-6.el9_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