Gentoo Logo

libxml2: Remotely exploitable buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200411-05 / libxml2
Release Date November 02, 2004
Latest Revision November 02, 2004: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/libxml2 < 2.6.15 >= 2.6.15 All supported architectures

Related bugreports: #69154


libxml2 contains multiple buffer overflows which could lead to the execution of arbitrary code.

2.  Impact Information


libxml2 is an XML parsing library written in C.


Multiple buffer overflows have been detected in the nanoftp and nanohttp modules. These modules are responsible for parsing URLs with ftp information, and resolving names via DNS.


An attacker could exploit an application that uses libxml2 by forcing it to parse a specially-crafted XML file, potentially causing remote execution of arbitrary code.

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.6.15"

4.  References


Page updated November 02, 2004

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.