CVE-2015-8381Pcre Perl Compatible Regular Expression Library
High 7.5 No auth needed
Follow: this CVE · Pcre · Pcre Perl Compatible Regular Expression Library We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 2.0
- 7.5
- EPSS
- 5.3% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Dec 2, 2015
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Perl Compatible Regular Expression Library.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pcre | perl_compatible_regular_expression_library | ≤ 8.37 |
Official sources
References
Links published by the sources. Open them with care.
- rhn.redhat.com
- vcs.pcre.org Exploit Release Notes
- www.openwall.com Mailing List Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com
- bto.bluecoat.com Third Party Advisory
- bugs.exim.org Exploit
- bugs.exim.org Exploit
- security.gentoo.org