Vulnerability Details : CVE-2015-8381
Potential exploit
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 category: OverflowDenial of service
Products affected by CVE-2015-8381
- cpe:2.3:a:pcre:perl_compatible_regular_expression_library:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2015-8381
6.55%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 90 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2015-8381
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
CWE ids for CVE-2015-8381
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2015-8381
-
https://bugs.exim.org/show_bug.cgi?id=1672
Bug 1672 – PCRE Library Heap Overflow in compile_regex()Exploit
-
https://bugs.exim.org/show_bug.cgi?id=1667
Bug 1667 – PCRE Library Heap Overflow VulnerabilityExploit
-
http://www.securityfocus.com/bid/76187
PCRE Regular Expression Handling Heap Buffer Overflow VulnerabilityThird Party Advisory;VDB Entry
-
https://access.redhat.com/errata/RHSA-2016:1132
RHSA-2016:1132 - Security Advisory - Red Hat Customer Portal
-
http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup
ViewVC ExceptionExploit;Release Notes
-
https://security.gentoo.org/glsa/201607-02
libpcre: Multiple Vulnerabilities (GLSA 201607-02) — Gentoo security
-
https://bto.bluecoat.com/security-advisory/sa128
SA128 : Multiple PCRE VulnerabilitiesThird Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2750.html
RHSA-2016:2750 - Security Advisory - Red Hat Customer Portal
-
http://www.openwall.com/lists/oss-security/2015/11/29/1
oss-security - Re: Heap Overflow in PCREMailing List;Third Party Advisory
Jump to