CVEvulnerability
CVE-2015-8381
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2015-12-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-119
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.
Affected configurations
• pcre perl compatible regular expression library (<= 8.37)
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://rhn.redhat.com/errata/RHSA-2016-2750.html rhn.redhat.com
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup Exploit, Release Notes
- http://www.openwall.com/lists/oss-security/2015/11/29/1 Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/76187 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2016:1132 access.redhat.com
- https://bto.bluecoat.com/security-advisory/sa128 Third Party Advisory
- https://bugs.exim.org/show_bug.cgi?id=1667 Exploit
- https://bugs.exim.org/show_bug.cgi?id=1672 Exploit
- https://security.gentoo.org/glsa/201607-02 security.gentoo.org
- http://rhn.redhat.com/errata/RHSA-2016-2750.html rhn.redhat.com
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup Exploit, Release Notes
- http://www.openwall.com/lists/oss-security/2015/11/29/1 Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/76187 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2016:1132 access.redhat.com
- https://bto.bluecoat.com/security-advisory/sa128 Third Party Advisory
- https://bugs.exim.org/show_bug.cgi?id=1667 Exploit
- https://bugs.exim.org/show_bug.cgi?id=1672 Exploit
- https://security.gentoo.org/glsa/201607-02 security.gentoo.org