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

# CVE-2015-7804

Publication date 12 October 2015

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

Off-by-one error in the phar\_parse\_zipfile function in ext/phar/zip.c in
PHP before 5.5.30 and 5.6.x before 5.6.14 allows remote attackers to cause
a denial of service (uninitialized pointer dereference and application
crash) by including the / filename in a .zip PHAR archive.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 15.10 wily | Fixed 5.6.11+dfsg-1ubuntu3.1 |
| 15.04 vivid | Fixed 5.6.4+dfsg-4ubuntu6.4 |
| 14.04 LTS trusty | Fixed 5.5.9+dfsg-1ubuntu4.14 |
| 12.04 LTS precise | Fixed 5.3.10-1ubuntu3.21 |

---

* [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-2015-7804?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=e78ac461dbefb7c4a3e9fde78d50fbc56b7b0183> * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=1ddf72180a52d247db88ea42a3e35f824a8fbda1> * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=d7fb43e30d662c7fff999521ebf15ddbb192c7ca> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-2786-1](https://usn.ubuntu.com/USN-2786-1)
+ PHP vulnerabilities
+ 28 October 2015

### Other references

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