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

# CVE-2015-4025

Publication date 9 June 2015

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a
pathname upon encountering a \x00 character in certain situations, which
allows remote attackers to bypass intended extension restrictions and
access files or directories with unexpected names via a crafted argument to
(1) set\_include\_path, (2) tempnam, (3) rmdir, or (4) readlink. NOTE: this
vulnerability exists because of an incomplete fix for CVE-2006-7243.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 15.04 vivid | Fixed 5.6.4+dfsg-4ubuntu6.2 |
| 14.10 utopic | Fixed 5.5.12+dfsg-2ubuntu4.6 |
| 14.04 LTS trusty | Fixed 5.5.9+dfsg-1ubuntu4.11 |
| 12.04 LTS precise | Fixed 5.3.10-1ubuntu3.19 |

---

* [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-4025?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=be9b2a95adb504abd5acdc092d770444ad6f6854> * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=634aa0a2dbf8ec5e6fabb4ee01c6d1355ba7ee67> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-2658-1](https://usn.ubuntu.com/USN-2658-1)
+ PHP vulnerabilities
+ 6 July 2015

### Other references

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