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...
HighCVSS 7.5
EPSS 5.3%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pcre3(Debian:12) | < 2:8.38-1 | 2:8.38-1 |
| PCRE perl compatible regular expression library | <= 8.37 | No fix listed |
References
- Debian Security Tracker CVE-2015-8381 vendor-advisory
- RHSA-2016:2750 vendor-advisory
- vcs.pcre.org exploit release-notes
- [oss-security] 20151128 Re: Heap Overflow in PCRE mailing-list third-party-advisory
- 76187 third-party-advisory vdb-entry
- RHSA-2016:1132 vendor-advisory
- bto.bluecoat.com third-party-advisory
- bugs.exim.org exploit
- bugs.exim.org exploit
- GLSA-201607-02 vendor-advisory
- bugs.debian.org issue-tracking