libxml2: Remotely exploitable buffer overflow
Gentoo Linux Security Advisory
||GLSA 200411-05 / libxml2
||November 02, 2004
||November 02, 2004: 01
All supported architectures
libxml2 contains multiple buffer overflows which could lead to the
execution of arbitrary code.
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
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"