php: denial of service when processing a crafted file with Fileinfo
Published May 16, 2016
7.5
HIGHCVSS 3.0
EPSS 7.39%
Description
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.
Affected products
No data.
Configuration 1
- ≤ 5.4.39
- 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.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
- 5.6.7
Configuration 2
- 7.0
- 7.0
- 7.1
- 7.0
- 7.1
- 7.0
Configuration 3
- 6.0
- 7.0
No data.
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-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
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-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
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-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
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-0:2.0-1.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-0:5.4.40-1.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-pecl-zendopcache-0:7.0.4-3.el7
Fixed · RHSA-2015:1066
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
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
file
Not affected
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
file
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
file
Not affected
Red Hat Software Collections
php54-php
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| 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-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| 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-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| 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-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| 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-0:2.0-1.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-0:5.4.40-1.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-pecl-zendopcache-0:7.0.4-3.el7 | Fixed | RHSA-2015:1066 |
| 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 | 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 | file | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | file | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | file | Not affected | n/a |
| Red Hat Software Collections | php54-php | Affected | 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:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/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 (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.39% (0.07390) | 94.24th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.39% (0.07390) | 93.61th | v5 (v2026.06.15) |
| Dec 28, 2025 | 9.11% (0.09106) | 92.39th | v4 (v2025.03.14) |
| Dec 27, 2025 | 4.58% (0.04585) | 88.92th | v4 (v2025.03.14) |
| Oct 28, 2025 | 9.11% (0.09106) | 92.29th | v4 (v2025.03.14) |
| Oct 27, 2025 | 4.58% (0.04585) | 88.75th | v4 (v2025.03.14) |
| Oct 1, 2025 | 9.11% (0.09106) | 92.39th | v4 (v2025.03.14) |
| Jul 30, 2025 | 4.58% (0.04585) | 88.80th | v4 (v2025.03.14) |
| Jun 19, 2025 | 9.11% (0.09106) | 92.25th | v4 (v2025.03.14) |
| May 30, 2025 | 15.49% (0.15489) | 94.29th | v4 (v2025.03.14) |
| May 23, 2025 | 5.91% (0.05914) | 90.10th | v4 (v2025.03.14) |
| Apr 12, 2025 | 11.61% (0.11609) | 93.02th | v4 (v2025.03.14) |
| Mar 30, 2025 | 8.49% (0.08487) | 91.54th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.09% (0.19094) | 92.36th | v4 (v2025.03.14) |
| Mar 17, 2025 | 8.49% (0.08487) | 91.73th | v4 (v2025.03.14) |
| Dec 17, 2024 | 5.97% (0.05974) | 93.39th | v3 (v2023.03.01) |
| Jul 9, 2023 | 8.68% (0.08679) | 93.63th | v3 (v2023.03.01) |
| Mar 7, 2023 | 6.32% (0.06321) | 92.49th | v3 (v2023.03.01) |
| Mar 6, 2023 | 6.70% (0.06698) | 91.56th | v2 (v2022.01.01) |
| Apr 1, 2022 | 6.70% (0.06698) | 90.75th | v2 (v2022.01.01) |
| Feb 4, 2022 | 6.70% (0.06698) | 78.74th | v2 (v2022.01.01) |
References (14)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=f938112c495b0d26572435c0be73ac0bfe642ecd x_refsource_CONFIRM
- 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://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/75241 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1032709 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2015-4604 Vendor Advisory
- https://bugs.php.net/bug.php?id=68819 x_refsource_CONFIRMExploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1213442 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-4604
- https://www.cve.org/CVERecord?id=CVE-2015-4604
Change history (0)
No recorded changes yet.