Gentoo Logo

libxml2: Denial of Service


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201203-04 / libxml2
Release Date March 06, 2012
Latest Revision March 06, 2012: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/libxml2 < 2.7.8-r5 >= 2.7.8-r5 All supported architectures

Related bugreports: #405261


A hash collision vulnerability in libxml2 allows remote attackers to cause a Denial of Service condition.

2.  Impact Information


libxml2 is the XML C parser and toolkit developed for the Gnome project.


libxml2 does not properly randomize hash functions to protect against hash collision attacks.


A remote attacker could entice a user or automated system to open a specially crafted XML document with an application using libxml2 resulting in a Denial of Service condition.

3.  Resolution Information


There is no known workaround at this time.


All libxml2 users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-libs/libxml2-2.7.8-r5"

4.  References


Page updated March 06, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.