Debian Security Advisory

DSA-455-1 libxml -- buffer overflows

Date Reported:
03 Mar 2004
Affected Packages:
libxml, libxml2
Security database references:
In the Bugtraq database (at SecurityFocus): BugTraq ID 9718.
In Mitre's CVE dictionary: CVE-2004-0110.
More information:

libxml2 is a library for manipulating XML files.

Yuuichi Teranishi (寺西 裕一) discovered a flaw in libxml, the GNOME XML library. When fetching a remote resource via FTP or HTTP, the library uses special parsing routines which can overflow a buffer if passed a very long URL. If an attacker is able to find an application using libxml1 or libxml2 that parses remote resources and allows the attacker to craft the URL, then this flaw could be used to execute arbitrary code.

For the stable distribution (woody) this problem has been fixed in version 1.8.17-2woody1 of libxml and version 2.4.19-4woody1 of libxml2.

For the unstable distribution (sid) this problem has been fixed in version 1.8.17-5 of libxml and version 2.6.6-1 of libxml2.

We recommend that you upgrade your libxml1 and libxml2 packages.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Intel IA-32:
Intel IA-64:
Motorola 680x0:
Big endian MIPS:
Little endian MIPS:
IBM S/390:
Sun Sparc:

MD5 checksums of the listed files are available in the original advisory.