CVE-2015-8381: Buffer Overflow

Published Dec 2, 2015
·
Updated

It was discovered that PCRE before 8.38 mishandles certain references, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted regular expression. This issue is similar to CVE-2015-8384 and CVE-2015-8392.

Other sources

The compileregex function in pcrecompile.c in PCRE before 8.38 and pcre2compile.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.

MITRE

Affected Software

2 affected componentsFixes available
redhat/pcre<8.38
8.38
PCRE Perl Compatible Regular Expression Library<=8.37

Event History

Dec 2, 2015
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-8381?

CVE-2015-8381 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2015-8381?

To fix CVE-2015-8381, upgrade PCRE to version 8.38 or later.

3

What software is affected by CVE-2015-8381?

CVE-2015-8381 affects PCRE versions before 8.38 and PCRE2 versions before 10.2x.

4

What types of attacks can exploit CVE-2015-8381?

CVE-2015-8381 can potentially be exploited through crafted regular expressions that trigger a denial of service.

5

Is CVE-2015-8381 a remote vulnerability?

CVE-2015-8381 is not classified as a remote vulnerability, but it can be exploited through local applications that use vulnerable regex patterns.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203