Live threats

All CVEs / Pcre

CVE-2015-8381Pcre Perl Compatible Regular Expression Library

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Perl Compatible Regular Expression Library.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pcreperl_compatible_regular_expression_library≤ 8.37

Official sources

References

Links published by the sources. Open them with care.