file: out of bounds read in mconvert()
Published Mar 30, 2015
5.0
MEDIUMCVSS 2.0
EPSS 5.45%
Description
The mconvert function in softmagic.c in file before 5.21, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does not properly handle a certain string-length field during a copy of a truncated version of a Pascal string, which might allow remote attackers to cause a denial of service (out-of-bounds memory access and application crash) via a crafted file.
Affected products
No data.
Configuration 1
- ≤ 5.4.36
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 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.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
Configuration 2
- ≤ 5.20
No data.
Red Hat Enterprise Linux 7
file-0:5.11-31.el7
Fixed · RHSA-2015:2155
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-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
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-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
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-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
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-0:2.0-1.el7
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-php-0:5.5.21-2.el7
Fixed · RHSA-2015:1053
Red Hat Enterprise Linux 5
cdrtools
Not affected
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 5
rpm
Will not fix
Red Hat Enterprise Linux 6
file
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Software Collections
php54-php
Affected
Red Hat Software Collections
php55-php
Affected
Red Hat Software Collections
rh-php56-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | file-0:5.11-31.el7 | Fixed | RHSA-2015:2155 |
| 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-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| 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-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| 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-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| 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-0:2.0-1.el7 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-php-0:5.5.21-2.el7 | Fixed | RHSA-2015:1053 |
| Red Hat Enterprise Linux 5 | cdrtools | Not affected | n/a |
| 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 5 | rpm | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | file | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Software Collections | php54-php | Affected | n/a |
| Red Hat Software Collections | php55-php | Affected | n/a |
| Red Hat Software Collections | rh-php56-php | Not 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.
No CVSS v3.0 score for this CVE.
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 (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.45% (0.05450) | 92.48th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.49% (0.05489) | 91.73th | v5 (v2026.06.15) |
| May 24, 2026 | 6.91% (0.06907) | 91.50th | v4 (v2025.03.14) |
| Dec 28, 2025 | 5.79% (0.05795) | 90.20th | v4 (v2025.03.14) |
| Dec 27, 2025 | 4.19% (0.04187) | 88.40th | v4 (v2025.03.14) |
| Oct 28, 2025 | 5.79% (0.05795) | 90.08th | v4 (v2025.03.14) |
| Oct 27, 2025 | 4.19% (0.04187) | 88.23th | v4 (v2025.03.14) |
| Oct 1, 2025 | 5.79% (0.05795) | 90.17th | v4 (v2025.03.14) |
| Jul 30, 2025 | 4.34% (0.04342) | 88.48th | v4 (v2025.03.14) |
| May 30, 2025 | 6.00% (0.06004) | 90.19th | v4 (v2025.03.14) |
| Apr 12, 2025 | 9.83% (0.09825) | 92.26th | v4 (v2025.03.14) |
| Apr 8, 2025 | 6.28% (0.06276) | 90.03th | v4 (v2025.03.14) |
| Mar 30, 2025 | 5.17% (0.05168) | 88.92th | v4 (v2025.03.14) |
| Mar 29, 2025 | 9.67% (0.09666) | 88.08th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.17% (0.05168) | 89.16th | v4 (v2025.03.14) |
| Dec 12, 2024 | 8.01% (0.08006) | 94.55th | v3 (v2023.03.01) |
| Mar 7, 2023 | 8.90% (0.08903) | 93.56th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.36% (0.04358) | 88.02th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.36% (0.04358) | 86.83th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.36% (0.04358) | 70.59th | v2 (v2022.01.01) |
References (25)
- http://bugs.gw.com/view.php?id=398 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00002.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00003.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00004.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=143748090628601&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=144050155601375&w=2 vendor-advisoryx_refsource_HP
- http://openwall.com/lists/oss-security/2015/02/05/12 mailing-listx_refsource_MLIST
- http://php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://rhn.redhat.com/errata/RHSA-2015-1053.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1066.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1135.html vendor-advisoryx_refsource_REDHAT
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/72505 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2014-9652 Vendor Advisory
- https://bugs.php.net/bug.php?id=68735 x_refsource_CONFIRM
- https://bugs.php.net/patch-display.php?bug=68735&patch=bug68735.patch&revision=1420309079 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1188599 Issue Tracking
- https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2014-9652
- https://security.gentoo.org/glsa/201701-42 vendor-advisoryx_refsource_GENTOO
- https://support.apple.com/HT205267 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2014-9652
Change history (0)
No recorded changes yet.