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')(\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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pcre:perl_compatible_regular_expression_library:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2015-12-02 01:59

Updated : 2023-12-10 11:46


NVD link : CVE-2015-8381

Mitre link : CVE-2015-8381

CVE.ORG link : CVE-2015-8381


JSON object : View

Products Affected

pcre

  • perl_compatible_regular_expression_library
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer