---
title: "CVE-2013-0339\n    | Ubuntu"
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/CVE-2013-0339?format=md
keywords: index, follow
---

# CVE-2013-0339

Publication date 26 February 2013

Last updated 4 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

libxml2 through 2.9.1 does not properly handle external entities expansion
unless an application developer uses the xmlSAX2ResolveEntity or
xmlSetExternalEntityLoader function, which allows remote attackers to cause
a denial of service (resource consumption), send HTTP requests to intranet
servers, or read arbitrary files via a crafted XML document, aka an XML
External Entity (XXE) issue. NOTE: it could be argued that because libxml2
already provides the ability to disable external entity expansion, the
responsibility for resolving this issue lies with application developers;
according to this argument, this entry should be REJECTed and each affected
application would need its own CVE.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libxml2 | 13.04 raring | Not affected |
| 12.10 quantal | Fixed 2.8.0+dfsg1-5ubuntu2.3 |
| 12.04 LTS precise | Fixed 2.7.8.dfsg-5.1ubuntu4.5 |
| 10.04 LTS lucid | Fixed 2.7.6.dfsg-1ubuntu1.9 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2013-0339?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libxml2 | * Upstream:   [?id=462](https://git.gnome.org/browse/libxml2/commit/?id=4629ee02ac649c27f9c0cf98ba017c6b5526070f) |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0339)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2013-0339)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2013-0339)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2013-0339)

### Related Ubuntu Security Notices (USN)

+ [USN-1904-1](https://usn.ubuntu.com/USN-1904-1)
+ libxml2 vulnerabilities
+ 15 July 2013

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2013-0339>
