cve.bz

CVE-2015-4598 Improper Input Validation

6.5 mediumEPSS 3.8%

Medium (6.5). EPSS 3.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
3.8% (unchanged from 3.8% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-4598 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-4598?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-4598?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-4598 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_hpc_node7.0
redhat:enterprise_linux_hpc_node_eus7.1
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_eus7.1
redhat:enterprise_linux_workstation7.0
php:phpthrough 5.4.41
php:php5.5.0
php:php5.5.1
php:php5.5.2
php:php5.5.3
php:php5.5.4
php:php5.5.5
php:php5.5.6
php:php5.5.7
php:php5.5.8
php:php5.5.9
php:php5.5.10
php:php5.5.11
php:php5.5.12
php:php5.5.13
php:php5.5.14
php:php5.5.15
php:php5.5.16
php:php5.5.17
php:php5.5.18
php:php5.5.19
php:php5.5.20
php:php5.5.21
php:php5.5.22
php:php5.5.23
php:php5.5.24
php:php5.5.25
php:php5.6.0
php:php5.6.1
php:php5.6.2
php:php5.6.3
php:php5.6.4
php:php5.6.5
php:php5.6.6
php:php5.6.7
php:php5.6.8
php:php5.6.9
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0php55.3.3.1-7+squeeze27DLA-307-1
Debian7php55.4.44-0+deb7u1DSA-3344-1
Debian8php55.6.12+dfsg-0+deb8u1DSA-3344-1
Ubuntu14.04:LTSphp55.5.9+dfsg-1ubuntu4.11UBUNTU-CVE-2015-4598 USN-2658-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morephp, php-gd, php-cli and 25 more0:5.3.3-46.el6_6RHSA-2015:1218
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationphp, php-gd, php-cli and 23 more0:5.4.16-36.el7_1RHSA-2015:1135
Red Hatenterprise_linux:7::serverphp, php-gd, php-cli and 23 more0:5.4.16-36.ael7b_1RHSA-2015:1135
Red Hatrhel_software_collections:2::el6php54-php, php54-php-gd, php54-php-cli and 23 more0:5.4.40-3.el6RHSA-2015:1219
Red Hatrhel_software_collections:2::el6php55-php, php55-php-gd, php55-php-cli and 25 more0:5.5.21-4.el6RHSA-2015:1186
Red Hatrhel_software_collections:2::el6rh-php56-php, rh-php56-php-gd, rh-php56-php-cli and 27 more0:5.6.5-7.el6RHSA-2015:1187
Red Hatrhel_software_collections:2::el7php54-php, php54-php-gd, php54-php-cli and 21 more0:5.4.40-3.el7RHSA-2015:1219
Red Hatrhel_software_collections:2::el7php55-php, php55-php-gd, php55-php-cli and 23 more0:5.5.21-4.el7RHSA-2015:1186
Red Hatrhel_software_collections:2::el7rh-php56-php, rh-php56-php-gd, rh-php56-php-cli and 25 more0:5.6.5-7.el7RHSA-2015:1187
SUSELinux Enterprise Module for Web and Scripting 12php55.5.14-30.1SUSE-SU-2015:1253-2
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12php55.5.14-30.1SUSE-SU-2015:1253-1
SUSELinux Enterprise Server 11 SP2-LTSSphp535.3.17-47.1SUSE-SU-2016:1638-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6php-0:5.3.3-46.el6_6Fixed 2015-07-09RHSA-2015:1218
Red Hat Enterprise Linux 7php-0:5.4.16-36.ael7b_1Fixed 2015-06-23RHSA-2015:1135
Red Hat Software Collections for Red Hat Enterprise Linux 6php55-php-0:5.5.21-4.el6Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php56-php-0:5.6.5-7.el6Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6php54-php-0:5.4.40-3.el6Fixed 2015-07-09RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSphp55-php-0:5.5.21-4.el6Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSrh-php56-php-0:5.6.5-7.el6Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSphp54-php-0:5.4.40-3.el6Fixed 2015-07-09RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSphp55-php-0:5.5.21-4.el6Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSrh-php56-php-0:5.6.5-7.el6Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSphp54-php-0:5.4.40-3.el6Fixed 2015-07-09RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 7php55-php-0:5.5.21-4.el7Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php56-php-0:5.6.5-7.el7Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 7php54-php-0:5.4.40-3.el7Fixed 2015-07-09RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSphp55-php-0:5.5.21-4.el7Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSrh-php56-php-0:5.6.5-7.el7Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSphp54-php-0:5.4.40-3.el7Fixed 2015-07-09RHSA-2015:1219
Red Hat Enterprise Linux 5phpWill not fix
Red Hat Enterprise Linux 5php53Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-4598.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON