cve.bz

CVE-2015-4604 Improper Input Validation

7.5 highExploit referenceEPSS 7.1%

High (7.5). EPSS 7.1% estimated probability of exploitation activity in the next 30 days.

On this page
The mget function in softmagic.c in file 5.x, as used in the Fileinfo component in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8, does not properly maintain a certain pointer relationship, which allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted string that is mishandled by a "Python script text executable" rule.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
7.1% (unchanged from 7.1% a week ago; 7.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th 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-4604 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-4604?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-4604?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-4604 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
php:phpthrough 5.4.39
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.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
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
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0php55.3.3.1-7+squeeze27DLA-307-1
Ubuntu14.04:LTSphp55.5.9+dfsg-1ubuntu4.11USN-2658-1
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, php54-runtime, php54-scldevel0:2.0-1.el6RHSA-2015:1066
Red Hatrhel_software_collections:2::el6php54-php, php54-php-gd, php54-php-cli and 23 more0:5.4.40-1.el6RHSA-2015:1066
Red Hatrhel_software_collections:2::el6php54-php-pecl-zendopcache, php54-php-pecl-zendopcache-debuginfo0:7.0.4-3.el6RHSA-2015:1066
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, php54-runtime, php54-scldevel0:2.0-1.el7RHSA-2015:1066
Red Hatrhel_software_collections:2::el7php54-php, php54-php-gd, php54-php-cli and 21 more0:5.4.40-1.el7RHSA-2015:1066
Red Hatrhel_software_collections:2::el7php54-php-pecl-zendopcache, php54-php-pecl-zendopcache-debuginfo0:7.0.4-3.el7RHSA-2015:1066
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

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
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 6php54-0:2.0-1.el6Fixed 2015-06-04RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6php54-php-0:5.4.40-1.el6Fixed 2015-06-04RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6php54-php-pecl-zendopcache-0:7.0.4-3.el6Fixed 2015-06-04RHSA-2015:1066
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 6.5 EUSphp54-0:2.0-1.el6Fixed 2015-06-04RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSphp54-php-0:5.4.40-1.el6Fixed 2015-06-04RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSphp54-php-pecl-zendopcache-0:7.0.4-3.el6Fixed 2015-06-04RHSA-2015:1066
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.6 EUSphp54-0:2.0-1.el6Fixed 2015-06-04RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSphp54-php-0:5.4.40-1.el6Fixed 2015-06-04RHSA-2015:1066
Red Hat Enterprise Linux 5fileNot affected
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Not affected
Red Hat Enterprise Linux 6fileNot affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 7fileNot affected
Red Hat Software Collectionsphp54-phpAffected
10 more in the JSON and on Red Hat's page.

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-4604.

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