CVE-2015-4025 in the critical feed json
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 situation…
published 11y ago modified 4mo ago also EUVD-2015-4053
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 17.0%
- EPSS 17.0% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.11
ubuntu advisories UBUNTU-CVE-2015-4025
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php55-php RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el6
- php55-php RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el7
- php55-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el6
- php55-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el7
- php55-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el6
- php55-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el7
- php55-php-dba RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el6
- php55-php-dba RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el7
red hat advisories RHSA-2015:1186RHSA-2015:1135RHSA-2015:1187RHSA-2015:1219
- php5 SLE Software Development Kit 12 SP3, SLE Software Development Kit 12 SP2, SLE Module for Web and Scripting 12 5.5.14-109.13.1
suse advisories SUSE-SU-2017:3277-1
- php.net/ChangeLog-5.php patch
- bugs.php.net/bug.php?id=69418 advisory
Is CVE-2015-4025 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-4025 updated cvss 4.0
php: regressions in 5.4+
-
Red Hat Enterprise Linux Client Optional (v. 7) php 5.4.16-36.el7_1, php-gd 5.4.16-36.el7_1, php-cli 5.4.16-36.el7_1, php-dba 5.4.16-36.el7_1, php-fpm 5.4.16-36.el7_1, php-pdo 5.4.16-36.el7_1, +18 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) php 5.4.16-36.el7_1, php-gd 5.4.16-36.el7_1, php-cli 5.4.16-36.el7_1, php-dba 5.4.16-36.el7_1, php-fpm 5.4.16-36.el7_1, php-pdo 5.4.16-36.el7_1, +18 more Red Hat Enterprise Linux Server (v. 7) php 5.4.16-36.el7_1, php 5.4.16-36.ael7b_1, php-gd 5.4.16-36.el7_1, php-cli 5.4.16-36.el7_1, php-pdo 5.4.16-36.el7_1, php-xml 5.4.16-36.el7_1, +22 more Red Hat Enterprise Linux Server Optional (v. 7) php-dba 5.4.16-36.el7_1, php-fpm 5.4.16-36.el7_1, php-intl 5.4.16-36.el7_1, php-snmp 5.4.16-36.el7_1, php-dba 5.4.16-36.ael7b_1, php-fpm 5.4.16-36.ael7b_1, +14 more Red Hat Enterprise Linux Workstation (v. 7) php 5.4.16-36.el7_1, php-gd 5.4.16-36.el7_1, php-cli 5.4.16-36.el7_1, php-pdo 5.4.16-36.el7_1, php-xml 5.4.16-36.el7_1, php-ldap 5.4.16-36.el7_1, +8 more Red Hat Enterprise Linux Workstation Optional (v. 7) php-dba 5.4.16-36.el7_1, php-fpm 5.4.16-36.el7_1, php-intl 5.4.16-36.el7_1, php-snmp 5.4.16-36.el7_1, php-bcmath 5.4.16-36.el7_1, php-pspell 5.4.16-36.el7_1, +4 morefixed: vendor fix RHSA-2015:1135
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php54-php 5.4.40-3.el6, php55-php 5.5.21-4.el6, rh-php56-php 5.6.5-7.el6, php54-php-gd 5.4.40-3.el6, php55-php-gd 5.5.21-4.el6, php54-php-cli 5.4.40-3.el6, +72 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php54-php 5.4.40-3.el7, php55-php 5.5.21-4.el7, rh-php56-php 5.6.5-7.el7, php54-php-gd 5.4.40-3.el7, php55-php-gd 5.5.21-4.el7, php54-php-cli 5.4.40-3.el7, +66 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-php 5.4.40-3.el6, php55-php 5.5.21-4.el6, rh-php56-php 5.6.5-7.el6, php54-php-gd 5.4.40-3.el6, php55-php-gd 5.5.21-4.el6, php54-php-cli 5.4.40-3.el6, +72 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-php 5.4.40-3.el6, php55-php 5.5.21-4.el6, rh-php56-php 5.6.5-7.el6, php54-php-gd 5.4.40-3.el6, php55-php-gd 5.5.21-4.el6, php54-php-cli 5.4.40-3.el6, +72 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) php54-php 5.4.40-3.el7, php55-php 5.5.21-4.el7, rh-php56-php 5.6.5-7.el7, php54-php-gd 5.4.40-3.el7, php55-php-gd 5.5.21-4.el7, php54-php-cli 5.4.40-3.el7, +66 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php54-php 5.4.40-3.el6, php55-php 5.5.21-4.el6, rh-php56-php 5.6.5-7.el6, php54-php-gd 5.4.40-3.el6, php55-php-gd 5.5.21-4.el6, php54-php-cli 5.4.40-3.el6, +72 morefixed: vendor fix RHSA-2015:1219
+1 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php54-php 5.4.40-3.el7, php55-php 5.5.21-4.el7, rh-php56-php 5.6.5-7.el7, php54-php-gd 5.4.40-3.el7, php55-php-gd 5.5.21-4.el7, php54-php-cli 5.4.40-3.el7, +66 more -
Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
16.96% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-19 Data Processing Errors
- Technology feeds
References
-
bugs.php.net
/bug.php?id=69418
patch, vendor-advisory
-
php.net
/ChangeLog-5.php
patch
-
rhn.redhat.com
/errata/RHSA-2015-1187.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2015-1186.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2015-1219.html
vendor-advisory
-
debian.org
/security/2015/dsa-3280
vendor-advisory
-
lists.apple.com
/archives/security-announce/2015/Aug/msg00001.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2015-1135.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-May/158915.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-May/158616.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-May/159031.html
vendor-advisory
-
security.gentoo.org
/glsa/201606-10
vendor-advisory
-
securityfocus.com
/bid/74904
vdb-entry
- oracle.com /technetwork/topics/security/linuxbulletinjan2016-2867209.html
-
securitytracker.com
/id/1032431
vdb-entry
- support.apple.com /kb/HT205031
Sources
- CVE List CVE-2015-4025
- NVD CVE-2015-4025
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.