Buffer overflow in Pcre Perl Compatible Regular Expression Library
CVE-2015-8381
The compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compile.c in PCRE2 before 10.2x mishandles the /(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/ and /(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/ patterns, and related patterns with certain group references, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.053 (92.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.053 · newest: 0.053 · change: 0.000
Affected products
Weakness classification (CWE)
References
- www.openwall.com/lists/oss-security/2015/11/29/1 (mailing-list, Mailing List, Third Party Advisory)
- access.redhat.com/errata/RHSA-2016:1132 (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2016-2750.html (vendor-advisory)
- www.securityfocus.com/bid/76187 (VDB Entry, Third Party Advisory, vdb-entry)
- bugs.exim.org/show_bug.cgi (Exploit)
- bugs.exim.org/show_bug.cgi (Exploit)
- bto.bluecoat.com/security-advisory/sa128 (Third Party Advisory)
- vcs.pcre.org/pcre/code/trunk/ChangeLog (Exploit, Release Notes)
- security.gentoo.org/glsa/201607-02 (vendor-advisory)