Denial of Service Vulnerability in libxml2: Out-of-Bounds Read

libxml2 Updated 02 Oct 2025

Summary

13/12/2011
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2011-3905: libxml2, as used in Google Chrome before 16.0.912.63, allows remote attackers to cause a denial of service (out-of-bounds read) via unspecified vectors. Affects libxml2 versions < 2.7.8.dfsg-5.1. Fixed in 2.7.8.dfsg-5.1. 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 widely used XML parsing library in various applications, including web browsers and server-side software. It provides functionalities for parsing, validating, and manipulating XML documents. The library is known for its performance and compliance with XML standards. However, it has been identified to have a vulnerability that can lead to denial of service, particularly affecting applications that rely on libxml2 for XML processing.

Vulnerability Detail

The vulnerability identified as CVE-2011-3905 allows remote attackers to exploit libxml2, leading to a denial of service through an out-of-bounds read. This issue arises from unspecified vectors that can be manipulated by an attacker, potentially causing applications to crash or behave unpredictably. The vulnerability affects versions of libxml2 used in Google Chrome prior to version 16.0.912.63, indicating a significant risk for users of affected applications.

How To Fix

Minimum fixed version

2.7.8.dfsg-5.1

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

If an immediate update 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 is updated.

Conclusion

The vulnerability CVE-2011-3905 in libxml2 poses a significant risk of denial of service through an out-of-bounds read. It is crucial for users and developers to update to the patched version to ensure the security and stability of their applications. Utilizing tools like Vulert can help in monitoring and managing such vulnerabilities effectively.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

CVE-2011-3905 is a vulnerability in libxml2 that allows remote attackers to cause a denial of service through an out-of-bounds read.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Failing to address this vulnerability can lead to application crashes and potential exploitation by attackers, compromising the stability and security of your software.

Yes, Vulert provides a service that monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

If an immediate update is not possible, implement input validation to sanitize XML data processed by libxml2 as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

2.7.8.dfsg-5.1

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