CVE-2015-4025
Reported by mitre · Published June 9, 2015
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php5 | Ubuntu:14.04:LTS | 5.5.9+dfsg-1ubuntu4.11 |
| mac_os_x | apple | 10.10.4 |
| php | php | 5.4.40 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- May 29, 2015 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 5, 2026 Security Advisory (7 in total, the first dated here)
- Oct 14, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-4025
vulnetix vdb fixes CVE-2015-4025
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-4025/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2015:1187 vendor-advisoryx_refsource_REDHAT
- RHSA-2015:1186 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2015:1219 vendor-advisoryx_refsource_REDHAT
- 74904 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- DSA-3280 vendor-advisoryx_refsource_DEBIAN
- APPLE-SA-2015-08-13-2 vendor-advisoryx_refsource_APPLE
- RHSA-2015:1135 vendor-advisoryx_refsource_REDHAT
- 1032431 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- FEDORA-2015-8383 vendor-advisoryx_refsource_FEDORA
- FEDORA-2015-8281 vendor-advisoryx_refsource_FEDORA
- FEDORA-2015-8370 vendor-advisoryx_refsource_FEDORA
- GLSA-201606-10 vendor-advisoryx_refsource_GENTOO