Security Update for libxml2

libxml2 Updated 02 Oct 2025

Summary

30/11/2017
N/A
Yes i
Unrated
Not published

DLA-1194-1: libxml2 - security update. Affects libxml2 versions < 2.8.0+dfsg1-7+wheezy11. Fixed in 2.8.0+dfsg1-7+wheezy11. 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 software library for parsing and manipulating XML files. It provides a set of APIs and tools for developers to work with XML data. However, a security vulnerability has been discovered in versions prior to 2.9.5.

Vulnerability Detail

The vulnerability, identified as CVE-2017-16931, arises from a mishandling of parameter-entity references in the parser.c file. Specifically, the NEXTL macro calls the xmlParserHandlePEReference function when encountering a '%' character in a DTD name. This flaw can be exploited to execute arbitrary code or cause a denial of service attack. Another vulnerability, CVE-2017-16932, allows for infinite recursion in parameter entities, leading to resource exhaustion and potential system instability.

How To Fix

Minimum fixed version

2.8.0+dfsg1-7+wheezy11

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 are no known workarounds for these vulnerabilities. It is crucial to apply the provided security update to ensure the integrity and security of your system.

Conclusion

In conclusion, libxml2 versions prior to 2.9.5 are vulnerable to two security issues. It is crucial to upgrade to the latest version or apply the provided security update to protect your system from potential exploitation. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

libxml2 is a software library for parsing and manipulating XML files. It is widely used in various applications and programming languages.

These vulnerabilities can be exploited by an attacker to execute arbitrary code or cause a denial of service attack. It is important to update libxml2 to mitigate these risks.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your manifest file, such as package-lock.json, and it will provide real-time alerts for open-source vulnerabilities.

No, there are no known workarounds for these vulnerabilities. It is essential to apply the provided security update.

You can find more information about Debian LTS security advisories, including how to apply updates and frequently asked questions, at https://wiki.debian.org/LTS.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

2.8.0+dfsg1-7+wheezy11

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