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

# CVE-2013-4113

Publication date 12 July 2013

Last updated 24 July 2024

---

Ubuntu priority

**High**

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

Toggle side navigation

## Description

ext/xml/xml.c in PHP before 5.3.27 does not properly consider parsing
depth, which allows remote attackers to cause a denial of service (heap
memory corruption) or possibly have unspecified other impact via a crafted
document that is processed by the xml\_parse\_into\_struct function.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 13.04 raring | Fixed 5.4.9-4ubuntu2.2 |
| 12.10 quantal | Fixed 5.4.6-1ubuntu1.3 |
| 12.04 LTS precise | Fixed 5.3.10-1ubuntu3.7 |
| 10.04 LTS lucid | Fixed 5.3.2-1ubuntu4.20 |

---

* [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-4113?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 |
| --- | --- |
| php5 | * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=7d163e8a0880ae8af2dd869071393e5dc07ef271> * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=710eee5555bc5c95692bd3c84f5d2b5d687349b6> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1905-1](https://usn.ubuntu.com/USN-1905-1)
+ PHP vulnerabilities
+ 16 July 2013

### Other references

* <https://rhn.redhat.com/errata/RHSA-2013-1049.html>
* <https://www.cve.org/CVERecord?id=CVE-2013-4113>
