file: unrestricted regular expression matching
Published Jul 3, 2014
5.0
MEDIUMCVSS 2.0
EPSS 11.81%
Description
file before 5.19 does not properly restrict the amount of data read during a regex search, which allows remote attackers to cause a denial of service (CPU consumption) via a crafted file that triggers backtracking during processing of an awk rule. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7345.
Affected products
No data.
Configuration 1
- ≤ 5.18
- 5.00
- 5.01
- 5.02
- 5.03
- 5.04
- 5.05
- 5.06
- 5.07
- 5.08
- 5.09
- 5.10
- 5.11
- 5.12
- 5.13
- 5.14
- 5.15
- 5.16
- 5.17
Configuration 3
- 7.0
- 8.0
No data.
Red Hat Enterprise Linux 6
file-0:5.04-30.el6
Fixed · RHSA-2016:0760
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-23.el7_0.1
Fixed · RHSA-2014:1327
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
php54-php-0:5.4.16-22.el7
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
php55-php-0:5.5.6-13.el7
Fixed · RHSA-2014:1766
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
Not affected
Red Hat Enterprise Linux 6
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | file-0:5.04-30.el6 | Fixed | RHSA-2016:0760 |
| 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-23.el7_0.1 | Fixed | RHSA-2014:1327 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | php54-php-0:5.4.16-22.el7 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | php55-php-0:5.5.6-13.el7 | Fixed | RHSA-2014:1766 |
| 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 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | 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 (27 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 11.81% (0.11814) | 95.97th | v5 (v2026.06.15) |
| Jun 15, 2026 | 11.81% (0.11814) | 95.54th | v5 (v2026.06.15) |
| Jun 2, 2026 | 33.04% (0.33041) | 96.98th | v4 (v2025.03.14) |
| May 24, 2026 | 27.16% (0.27159) | 96.46th | v4 (v2025.03.14) |
| Mar 8, 2026 | 21.00% (0.21003) | 95.54th | v4 (v2025.03.14) |
| Jan 20, 2026 | 10.25% (0.10250) | 92.93th | v4 (v2025.03.14) |
| Dec 28, 2025 | 20.30% (0.20297) | 95.32th | v4 (v2025.03.14) |
| Dec 27, 2025 | 17.81% (0.17813) | 94.93th | v4 (v2025.03.14) |
| Dec 1, 2025 | 20.30% (0.20297) | 95.33th | v4 (v2025.03.14) |
| Oct 28, 2025 | 10.25% (0.10250) | 92.81th | v4 (v2025.03.14) |
| Oct 27, 2025 | 7.05% (0.07046) | 91.10th | v4 (v2025.03.14) |
| Oct 1, 2025 | 10.25% (0.10250) | 92.92th | v4 (v2025.03.14) |
| Jul 30, 2025 | 6.16% (0.06160) | 90.45th | v4 (v2025.03.14) |
| Jul 7, 2025 | 9.01% (0.09011) | 92.21th | v4 (v2025.03.14) |
| Apr 12, 2025 | 5.86% (0.05859) | 89.69th | v4 (v2025.03.14) |
| Mar 30, 2025 | 8.62% (0.08619) | 91.60th | v4 (v2025.03.14) |
| Mar 29, 2025 | 16.39% (0.16388) | 91.48th | v4 (v2025.03.14) |
| Mar 25, 2025 | 8.62% (0.08619) | 91.56th | v4 (v2025.03.14) |
| Mar 17, 2025 | 10.18% (0.10181) | 92.54th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.78% (0.01778) | 88.54th | v3 (v2023.03.01) |
| Dec 28, 2023 | 1.78% (0.01777) | 86.67th | v3 (v2023.03.01) |
| May 8, 2023 | 2.06% (0.02058) | 87.32th | v3 (v2023.03.01) |
| Apr 23, 2023 | 1.79% (0.01788) | 86.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.38% (0.01379) | 84.23th | 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://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory
- http://mx.gw.com/pipermail/file/2014/001553.html mailing-listx_refsource_MLISTBroken Link
- http://openwall.com/lists/oss-security/2014/06/30/7 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1327.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1765.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1766.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-0760.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://secunia.com/advisories/60696 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://www.debian.org/security/2014/dsa-3008 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.debian.org/security/2014/dsa-3021 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html x_refsource_CONFIRMPatchThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html x_refsource_CONFIRMThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRMThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html x_refsource_CONFIRMThird Party Advisory
- http://www.securityfocus.com/bid/68348 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2014-3538 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1098222 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://github.com/file/file/commit/4a284c89d6ef11aca34da65da7d673050a5ea320 x_refsource_CONFIRMExploitPatchThird Party Advisory
- https://github.com/file/file/commit/69a5a43b3b71f53b0577f41264a073f495799610 x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/file/file/commit/71a8b6c0d758acb0f73e2e51421a711b5e9d6668 x_refsource_CONFIRMExploitPatchThird Party Advisory
- https://github.com/file/file/commit/74cafd7de9ec99a14f4480927580e501c8f852c3 x_refsource_CONFIRMExploitPatchThird Party Advisory
- https://github.com/file/file/commit/758e066df72fb1ac08d2eea91ddc3973d259e991 x_refsource_CONFIRMExploitPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2014-3538
- https://support.apple.com/HT204659 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2014-3538
Change history (0)
No recorded changes yet.