CVE-2015-8381
PCRE < 8.38 - Heap-Based Buffer Overflow via Crafted Regular Expression
Title source: llmDescription
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.
References (9)
Core 9
Core References
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2015/11/29/1
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2016:1132
Vendor Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/76187
Exploit x_refsource_confirm
https://bugs.exim.org/show_bug.cgi?id=1667
Exploit x_refsource_confirm
https://bugs.exim.org/show_bug.cgi?id=1672
Third Party Advisory x_refsource_confirm
https://bto.bluecoat.com/security-advisory/sa128
Exploit, Release Notes x_refsource_confirm
http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201607-02
Scores
EPSS
0.0529
EPSS Percentile
91.6%
Details
CWE
CWE-119
Status
published
Products (1)
pcre/perl_compatible_regular_expression_library
< 8.37
Published
Dec 02, 2015
Tracked Since
Feb 18, 2026