Unscored severity · published Dec 2, 2015
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'))))/…
–
CVSS
5.3%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)5.3% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PC
Perl Compatible Regular Expression Library · Pcre
through 8.37 · source: NVD
Affected product
PC
Perl Compatible Regular Expression Library
Pcre
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-8381
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-8381
rhn.redhat.com
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Exploit
http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup
Mailing List
http://www.openwall.com/lists/oss-security/2015/11/29/1
Third Party Advisory
http://www.securityfocus.com/bid/76187
access.redhat.com
https://access.redhat.com/errata/RHSA-2016:1132
Third Party Advisory
https://bto.bluecoat.com/security-advisory/sa128
More from Perl Compatible Regular Expression Library
9.8
CVE-2015-8394
PCRE before 8.38 mishandles the (?(<digits>) and (?(R<digits>) conditions, which allows remote attackers to cause a denial of service (integer overflow) or possibly have…
9.8
CVE-2015-8390
PCRE before 8.38 mishandles the [: and \\ substrings in character classes, which allows remote attackers to cause a denial of service (uninitialized memory read) or possibly have…
9.8
CVE-2015-8389
PCRE before 8.38 mishandles the /(?:|a|){100}x/ pattern and related patterns, which allows remote attackers to cause a denial of service (infinite recursion) or possibly have…
9.8
CVE-2015-8386
PCRE before 8.38 mishandles the interaction of lookbehind assertions and mutually recursive subpatterns, which allows remote attackers to cause a denial of service (buffer…
9.8
CVE-2015-8383
PCRE before 8.38 mishandles certain repeated conditional groups, which allows remote attackers to cause a denial of service (buffer overflow) or possibly have unspecified other…
