Security Update for libxml2

libxml2 Updated 02 Oct 2025

Summary

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

DLA-1008-1: libxml2 - security update. Affects libxml2 versions < 2.8.0+dfsg1-7+wheezy8. Fixed in 2.8.0+dfsg1-7+wheezy8. 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

libxml2 is a widely-used software library for parsing and manipulating XML files. It provides a set of functions and APIs that allow developers to work with XML data. However, several vulnerabilities have been discovered in libxml2, which could potentially lead to security breaches and crashes in programs that use this library.

Vulnerability Detail

The vulnerabilities in libxml2 include:

  1. CVE-2017-7375: This vulnerability allows for missing validation of external entities in xmlParsePEReference.

  2. CVE-2017-9047 and CVE-2017-9048: These vulnerabilities involve a buffer overflow in the xmlSnprintfElementContent function in valid.c, which can cause programs to crash.

  3. CVE-2017-9049 and CVE-2017-9050: These vulnerabilities are related to a heap-based buffer over-read in the xmlDictComputeFastKey function in dict.c, which can also lead to crashes in programs that use libxml2.

These vulnerabilities pose a risk to the security and stability of systems and applications that rely on libxml2.

How To Fix

Minimum fixed version

2.8.0+dfsg1-7+wheezy8

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 →

Conclusion

Upgrading the libxml2 package to the recommended version is crucial to address the vulnerabilities and ensure the security and stability of systems and applications that rely on libxml2. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for libxml2 →

Share this vulnerability

FAQ

libxml2 is a software library for parsing and manipulating XML files. It provides functions and APIs for working with XML data.

The vulnerabilities in libxml2 include missing validation for external entities, buffer overflow, and heap-based buffer over-read.

These vulnerabilities can lead to security breaches and crashes in programs that use libxml2.

To fix these vulnerabilities, it is recommended to upgrade the libxml2 package to version 2.8.0+dfsg1-7+wheezy8 or later.

More information about Debian LTS security advisories can be found at https://wiki.debian.org/LTS.

Related vulnerabilities

Recent vulnerabilities recorded for libxml2.

How To Fix

Minimum fixed version

2.8.0+dfsg1-7+wheezy8

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