php: missing null byte checks for paths in DOM and GD extensions
Published May 16, 2016
6.5
MEDIUMCVSS 3.0
EPSS 3.92%
Description
PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read or write to arbitrary files via crafted input to an application that calls (1) a DOMDocument save method or (2) the GD imagepsloadfont function, as demonstrated by a filename\0.html attack that bypasses an intended configuration in which client users may write to only .html files.
Affected products
No data.
Configuration 1
- 7.0
- 7.0
- 7.1
- 7.0
- 7.1
- 7.0
Configuration 2
- ≤ 5.4.41
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
- 5.5.7
- 5.5.8
- 5.5.9
- 5.5.10
- 5.5.11
- 5.5.12
- 5.5.13
- 5.5.14
- 5.5.15
- 5.5.16
- 5.5.17
- 5.5.18
- 5.5.19
- 5.5.20
- 5.5.21
- 5.5.22
- 5.5.23
- 5.5.24
- 5.5.25
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
- 5.6.7
- 5.6.8
- 5.6.9
Configuration 3
- 6.0
- 7.0
No data.
Red Hat Enterprise Linux 6
php-0:5.3.3-46.el6_6
Fixed · RHSA-2015:1218
Red Hat Enterprise Linux 7
php-0:5.4.16-36.ael7b_1
Fixed · RHSA-2015:1135
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-0:5.4.40-3.el6
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-php-0:5.5.21-4.el6
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-0:5.6.5-7.el6
Fixed · RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.40-3.el6
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.21-4.el6
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
rh-php56-php-0:5.6.5-7.el6
Fixed · RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.40-3.el6
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.21-4.el6
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
rh-php56-php-0:5.6.5-7.el6
Fixed · RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-0:5.4.40-3.el7
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-php-0:5.5.21-4.el7
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-0:5.6.5-7.el7
Fixed · RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
php54-php-0:5.4.40-3.el7
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
php55-php-0:5.5.21-4.el7
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
rh-php56-php-0:5.6.5-7.el7
Fixed · RHSA-2015:1187
Red Hat Enterprise Linux 5
php
Will not fix
Red Hat Enterprise Linux 5
php53
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | php-0:5.3.3-46.el6_6 | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux 7 | php-0:5.4.16-36.ael7b_1 | Fixed | RHSA-2015:1135 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-0:5.4.40-3.el6 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-php-0:5.5.21-4.el6 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-0:5.6.5-7.el6 | Fixed | RHSA-2015:1187 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.40-3.el6 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.21-4.el6 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | rh-php56-php-0:5.6.5-7.el6 | Fixed | RHSA-2015:1187 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.40-3.el6 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.21-4.el6 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-php56-php-0:5.6.5-7.el6 | Fixed | RHSA-2015:1187 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-0:5.4.40-3.el7 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-php-0:5.5.21-4.el7 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-0:5.6.5-7.el7 | Fixed | RHSA-2015:1187 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | php54-php-0:5.4.40-3.el7 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | php55-php-0:5.5.21-4.el7 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | rh-php56-php-0:5.6.5-7.el7 | Fixed | RHSA-2015:1187 |
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.92% (0.03917) | 89.98th | v5 (v2026.06.15) |
| Sep 22, 2026 | 3.92% (0.03917) | 89.85th | v5 (v2026.06.15) |
| Sep 21, 2026 | 5.54% (0.05545) | 92.54th | v5 (v2026.06.15) |
| Sep 6, 2026 | 3.92% (0.03917) | 89.62th | v5 (v2026.06.15) |
| Sep 5, 2026 | 5.54% (0.05545) | 92.38th | v5 (v2026.06.15) |
| Aug 30, 2026 | 3.92% (0.03917) | 89.56th | v5 (v2026.06.15) |
| Aug 28, 2026 | 5.54% (0.05545) | 92.33th | v5 (v2026.06.15) |
| Aug 24, 2026 | 3.92% (0.03917) | 89.50th | v5 (v2026.06.15) |
| Aug 23, 2026 | 5.54% (0.05545) | 92.29th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.84% (0.03843) | 88.72th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.19% (0.01193) | 77.43th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.66% (0.00661) | 80.34th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.66% (0.00661) | 78.98th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.66% (0.00661) | 76.46th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.17% (0.02172) | 80.77th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.17% (0.02172) | 78.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.17% (0.02172) | 57.73th | v2 (v2022.01.01) |
References (16)
- http://php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://rhn.redhat.com/errata/RHSA-2015-1135.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1186.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1187.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1218.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1219.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2015/dsa-3344 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2015/06/16/12 mailing-listx_refsource_MLIST
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/75244 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1032709 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2015-4598 Vendor Advisory
- https://bugs.php.net/bug.php?id=69719 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1232897 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-4598
- https://www.cve.org/CVERecord?id=CVE-2015-4598
Change history (0)
No recorded changes yet.