CVE-2015-4025

high
Published 2015-06-09 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
suse slesaffected
macos macosaffected
redhat rhel7.0affected
redhat rhel6.0affected

Application impact

VendorProductVersionsFixed
php phpphp{"endIncluding":"5.4.40"}
php phpphp5.4.39
php phpphp5.5.0
php phpphp5.5.1
php phpphp5.5.2
php phpphp5.5.3
php phpphp5.5.4
php phpphp5.5.5
php phpphp5.5.6
php phpphp5.5.7
php phpphp5.5.8
php phpphp5.5.9
php phpphp5.5.10
php phpphp5.5.11
php phpphp5.5.12
php phpphp5.5.13
php phpphp5.5.14
php phpphp5.5.18
php phpphp5.5.19
php phpphp5.5.20
php phpphp5.5.21
php phpphp5.5.22
php phpphp5.5.23
php phpphp5.5.24
php phpphp5.6.0
php phpphp5.6.2
php phpphp5.6.3
php phpphp5.6.4
php phpphp5.6.5
php phpphp5.6.6
php phpphp5.6.7
php phpphp5.6.8

References

CWEs

CWE-19

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.