Denial of Service Vulnerability in libxml2

libxml2 Updated 02 Oct 2025

Summary

26/10/2014
N/A
Yes i
Unrated
Not published

DSA-3057-1: libxml2 - security update. Affects libxml2 versions < 2.8.0+dfsg1-7+wheezy2. Fixed in 2.8.0+dfsg1-7+wheezy2. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libxml2 is a library that provides support for reading, modifying, and writing XML and HTML files. It is widely used in various applications and programming languages. However, a vulnerability has been discovered in libxml2 that could allow a remote attacker to cause a denial of service (DoS) by consuming excessive CPU resources. This vulnerability affects the Debian 7 (wheezy) distribution.

Vulnerability Detail

The vulnerability, identified as CVE-2014-3660, is caused by a flaw in libxml2's XML parsing functionality. An attacker can exploit this flaw by providing a specially crafted XML file to an application that uses libxml2. When the XML file is processed, the application may experience excessive CPU consumption due to excessive entity substitutions, even if entity substitution is disabled (which is the default behavior of the parser). This can lead to a DoS condition, rendering the affected application unresponsive.

How To Fix

Minimum fixed version

2.8.0+dfsg1-7+wheezy2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libxml2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is recommended to ensure that all software components, including libxml2, are kept up to date with the latest security patches to minimize the risk of exploitation.

Conclusion

The libxml2 library is vulnerable to a denial of service (DoS) attack due to a flaw in its XML parsing functionality. To mitigate this vulnerability, it is crucial to update the libxml2 package to the fixed version. Regularly updating software components and applying security patches is essential to maintain the security of your system. For further assistance or support in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

libxml2 is a library that provides support for reading, modifying, and writing XML and HTML files. It is widely used in various applications and programming languages.

This vulnerability can be exploited by a remote attacker to cause a denial of service (DoS) by consuming excessive CPU resources. This can render the affected application unresponsive.

The vulnerability affects libxml2 version 2.8.0+dfsg1-7+wheezy1 and earlier versions in the Debian 7 (wheezy) distribution.

There is no specific workaround mentioned for this vulnerability. It is recommended to keep all software components, including libxml2, up to date with the latest security patches.

You can update the libxml2 package by using the package manager of your operating system. For the Debian 7 (wheezy) distribution, upgrading to version 2.8.0+dfsg1-7+wheezy2 will fix the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

2.8.0+dfsg1-7+wheezy2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade 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