Out-of-bounds Read in Pcre
CVE-2017-6004
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.045 (91.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.045 · newest: 0.045 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c (Patch)
- security.gentoo.org/glsa/201706-11 (vendor-advisory)
- www.securitytracker.com/id/1037850 (vdb-entry)
- www.securityfocus.com/bid/96295 (vdb-entry)
- access.redhat.com/errata/RHSA-2018:2486 (vendor-advisory)
- bugs.exim.org/show_bug.cgi (VDB Entry, Third Party Advisory, Issue Tracking)
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a4508… (mailing-list)
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698… (mailing-list)
Frequently asked questions
- What is CVE-2017-6004?
- CVE-2017-6004 is a high-severity vulnerability in Pcre, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2017-02-16.
- How severe is CVE-2017-6004?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2017-6004 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.