---
title: 'USN-3504-2: libxml2 vulnerability | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-3504-2
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-3504-2

---

# USN-3504-2: libxml2 vulnerability

Publication date

5 December 2017

Overview

curl could be made to crash if it received specially crafted
input.

Releases

[12.04](https://ubuntu.com/security/notices?release=precise)

---

Open side navigation

## Packages

* [libxml2](https://ubuntu.com/security/cves?package=libxml2) - GNOME XML library

## Details

USN-3504-1 fixed a vulnerability in libxml2. This update provides
the corresponding update for Ubuntu 12.04 ESM.

Original advisory details:

Wei Lei discovered that libxml2 incorrecty handled certain parameter
entities. An attacker could use this issue with specially constructed XML
data to cause libxml2 to consume resources, leading to a denial of service.

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

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

| Ubuntu Release | Package Version |
| --- | --- |
| 12.04 precise | [libxml2](https://launchpad.net/ubuntu/+source/libxml2) –  [2.7.8.dfsg-5.1ubuntu4.19](https://launchpad.net/ubuntu/+source/libxml2/2.7.8.dfsg-5.1ubuntu4.19) | | |
| [libxml2-utils](https://launchpad.net/ubuntu/+source/libxml2) –  [2.7.8.dfsg-5.1ubuntu4.19](https://launchpad.net/ubuntu/+source/libxml2/2.7.8.dfsg-5.1ubuntu4.19) | | |
| [python-libxml2](https://launchpad.net/ubuntu/+source/libxml2) –  [2.7.8.dfsg-5.1ubuntu4.19](https://launchpad.net/ubuntu/+source/libxml2/2.7.8.dfsg-5.1ubuntu4.19) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2017-16932](https://ubuntu.com/security/CVE-2017-16932)

## Related notices

* [USN-3739-1](https://ubuntu.com/security/notices/USN-3739-1)
* [USN-3504-1](https://ubuntu.com/security/notices/USN-3504-1)
