Debian Security Advisory

DSA-1861-1 libxml -- several vulnerabilities

Date Reported:
13 Aug 2009
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2009-2416, CVE-2009-2414.
More information:

Rauli Kaksonen, Tero Rontti and Jukka Taimisto discovered several vulnerabilities in libxml, a library for parsing and handling XML data files, which can lead to denial of service conditions or possibly arbitrary code execution in the application using the library. The Common Vulnerabilities and Exposures project identifies the following problems:

  • CVE-2009-2416

    An XML document with specially-crafted Notation or Enumeration attribute types in a DTD definition leads to the use of a pointers to memory areas which have already been freed.

  • CVE-2009-2414

    Missing checks for the depth of ELEMENT DTD definitions when parsing child content can lead to extensive stack-growth due to a function recursion which can be triggered via a crafted XML document.

For the oldstable distribution (etch), this problem has been fixed in version 1.8.17-14+etch1.

The stable (lenny), testing (squeeze) and unstable (sid) distribution do not contain libxml anymore but libxml2 for which DSA-1859-1 has been released.

We recommend that you upgrade your libxml packages.

Fixed in:

Debian GNU/Linux 4.0 (etch)

HP Precision:
Intel IA-32:
Intel IA-64:
Big-endian MIPS:
Little-endian MIPS:
IBM S/390:

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