USN-3010-1: Expat vulnerabilities

20 June 2016

expat vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 16.04 LTS
  • Ubuntu 15.10
  • Ubuntu 14.04 LTS
  • Ubuntu 12.04 LTS


Several security issues were fixed in Expat.

Software Description

  • expat - XML parsing C library


It was discovered that Expat unexpectedly called srand in certain circumstances. This could reduce the security of calling applications. (CVE-2012-6702)

It was discovered that Expat incorrectly handled seeding the random number generator. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2016-5300)

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 16.04 LTS
lib64expat1 - 2.1.0-7ubuntu0.16.04.2
libexpat1 - 2.1.0-7ubuntu0.16.04.2
Ubuntu 15.10
lib64expat1 - 2.1.0-7ubuntu0.15.10.2
libexpat1 - 2.1.0-7ubuntu0.15.10.2
Ubuntu 14.04 LTS
lib64expat1 - 2.1.0-4ubuntu1.3
libexpat1 - 2.1.0-4ubuntu1.3
Ubuntu 12.04 LTS
lib64expat1 - 2.0.1-7.2ubuntu1.4
libexpat1 - 2.0.1-7.2ubuntu1.4

To update your system, please follow these instructions:

After a standard system upgrade you need to restart any applications linked against Expat to effect the necessary changes.