The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2016-03-17 23:59
Updated : 2024-02-04 18:53
NVD link : CVE-2016-3191
Mitre link : CVE-2016-3191
CVE.ORG link : CVE-2016-3191
JSON object : View
Products Affected
pcre
- pcre2
- pcre
CWE
CWE-119
Improper Restriction of Operations within the Bounds of a Memory Buffer