Moderate: libxml2 security update

libxml2 Updated 02 Oct 2025

Summary

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

ALSA-2024:2679: Moderate: libxml2 security update. Affects libxml2 versions < 2.9.13-6.el9_4. Fixed in 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 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

The libxml2 library is a development toolbox that provides the implementation of various XML standards. It is commonly used in applications that require XML parsing and manipulation. Libxml2 is widely adopted and used in various operating systems and programming languages.

Vulnerability Detail

The vulnerability identified in libxml2 is a use-after-free vulnerability in XMLReader. This type of vulnerability occurs when a program continues to use a pointer after it has been freed, leading to potential memory corruption and exploitation. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service.

How To Fix

Minimum fixed version

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 update the libxml2 package to the fixed version to mitigate the risk.

Conclusion

The libxml2 library is affected by a use-after-free vulnerability in XMLReader. To mitigate the risk, users should update their libxml2 package to version 2.9.13-6.el9_4 or later. It is crucial to keep software dependencies up to date to ensure the security of applications. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

Libxml2 is a development toolbox providing the implementation of various XML standards. It is widely used in applications that require XML parsing and manipulation.

A use-after-free vulnerability occurs when a program continues to use a pointer after it has been freed. This can lead to memory corruption and potential exploitation by an attacker.

This vulnerability could allow an attacker to execute arbitrary code or cause a denial of service on systems using the vulnerable version of libxml2.

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

No, there is no known workaround for this vulnerability. It is recommended to update the libxml2 package to the fixed version.

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

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