pcre: Out-of-bounds read in compile_bracket_matchingpath function (8.41/3)
Published Feb 16, 2017
7.5
HIGHCVSS 3.0
EPSS 4.55%
Description
The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through 8.x before revision 1680 (e.g., the PHP 7.1.1 bundled version) allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted regular expression.
Affected products
No data.
No data.
Red Hat JBoss Core Services
httpd
Fixed · RHSA-2018:2486
Red Hat Directory Server 8
pcre
Not affected
Red Hat Enterprise Linux 5
pcre
Not affected
Red Hat Enterprise Linux 6
glib2
Not affected
Red Hat Enterprise Linux 6
pcre
Not affected
Red Hat Enterprise Linux 7
glib2
Not affected
Red Hat Enterprise Linux 7
pcre
Will not fix
Red Hat Enterprise Linux 7
virtuoso-opensource
Not affected
Red Hat JBoss Enterprise Web Server 1
httpd
Will not fix
Red Hat JBoss Enterprise Web Server 2
httpd
Will not fix
Red Hat JBoss Enterprise Web Server 3
httpd
Will not fix
Red Hat JBoss Web Server 3
pcre
Not affected
Red Hat Software Collections
rh-mariadb100-mariadb
Not affected
Red Hat Software Collections
rh-mariadb101-mariadb
Not affected
Red Hat Software Collections
rh-php56-php
Not affected
Red Hat Software Collections
rh-php70-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Core Services | httpd | Fixed | RHSA-2018:2486 |
| Red Hat Directory Server 8 | pcre | Not affected | n/a |
| Red Hat Enterprise Linux 5 | pcre | Not affected | n/a |
| Red Hat Enterprise Linux 6 | glib2 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | pcre | Not affected | n/a |
| Red Hat Enterprise Linux 7 | glib2 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | pcre | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | virtuoso-opensource | Not affected | n/a |
| Red Hat JBoss Enterprise Web Server 1 | httpd | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 2 | httpd | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 3 | httpd | Will not fix | n/a |
| Red Hat JBoss Web Server 3 | pcre | Not affected | n/a |
| Red Hat Software Collections | rh-mariadb100-mariadb | Not affected | n/a |
| Red Hat Software Collections | rh-mariadb101-mariadb | Not affected | n/a |
| Red Hat Software Collections | rh-php56-php | Not affected | n/a |
| Red Hat Software Collections | rh-php70-php | Will not fix | 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
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- 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 | 4.55% (0.04546) | 91.28th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.55% (0.04546) | 90.32th | v5 (v2026.06.15) |
| Oct 12, 2025 | 3.35% (0.03346) | 86.75th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.54% (0.01537) | 79.63th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.12% (0.04119) | 80.70th | v4 (v2025.03.14) |
| Jul 20, 2024 | 1.78% (0.01779) | 88.23th | v3 (v2023.03.01) |
| May 19, 2024 | 1.78% (0.01779) | 88.03th | v3 (v2023.03.01) |
| Feb 29, 2024 | 1.58% (0.01576) | 86.95th | v3 (v2023.03.01) |
| Jan 20, 2024 | 1.34% (0.01343) | 84.68th | v3 (v2023.03.01) |
| Dec 8, 2023 | 1.26% (0.01261) | 84.04th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.13% (0.01128) | 82.42th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.41% (0.01408) | 72.89th | v2 (v2022.01.01) |
| Mar 2, 2023 | 1.41% (0.01408) | 72.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.41% (0.01408) | 70.87th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.41% (0.01408) | 49.94th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.90% (0.02895) | 63.70th | v1 |
| Jan 6, 2022 | 2.90% (0.02895) | 63.35th | v1 |
| Sep 1, 2021 | 2.90% (0.02895) | 80.80th | v1 |
| Jun 30, 2021 | 2.90% (0.02895) | 0.00th | v1 |
| Jun 29, 2021 | 2.58% (0.02580) | 0.00th | v1 |
| Apr 14, 2021 | 2.26% (0.02262) | 0.00th | v1 |
References (12)
- http://www.securityfocus.com/bid/96295 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1037850 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/errata/RHSA-2018:2486 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-6004 Vendor Advisory
- https://bugs.exim.org/show_bug.cgi?id=2035 x_refsource_CONFIRMIssue TrackingThird Party AdvisoryVDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1425365 Issue Tracking
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2017-6004
- https://security.gentoo.org/glsa/201706-11 vendor-advisoryx_refsource_GENTOO
- https://vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c?r1=1676&r2=1680&view=patch x_refsource_CONFIRMPatch
- https://www.cve.org/CVERecord?id=CVE-2017-6004
Change history (0)
No recorded changes yet.