Debian Security Advisory

DLA-508-1 expat -- LTS security update

Date Reported:
08 Jun 2016
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2012-6702, CVE-2016-5300.
More information:

Two related issues have been discovered in Expat, a C library for parsing XML.

  • CVE-2012-6702

    This issue was introduced when CVE-2012-0876 was addressed. Stefan Sørensen discovered that the use of the function XML_Parse() seeds the random number generator generating repeated outputs for rand() calls.

  • CVE-2016-5300

    This is the product of an incomplete solution for CVE-2012-0876. The parser poorly seeds the random number generator allowing an attacker to cause a denial of service (CPU consumption) via an XML file with crafted identifiers.

You might need to manually restart programs and services using expat libraries.

For Debian 7 Wheezy, these problems have been fixed in version 2.1.0-1+deb7u4.

We recommend that you upgrade your expat packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: