PT-2016-5407
CVE-2016-3191
·
Published
2016-03-17
·
Updated
2018-01-05
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
PCRE versions prior to 8.39
PCRE2 versions prior to 10.22
Description
The issue arises from the
compile branch function in pcre compile.c and pcre2 compile.c, which mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses. This allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression. The vulnerability has been demonstrated by a JavaScript RegExp object encountered by Konqueror.Recommendations
For PCRE versions prior to 8.39, update to version 8.39 or later to resolve the issue.
For PCRE2 versions prior to 10.22, update to version 10.22 or later to resolve the issue.
As a temporary workaround, consider restricting the use of nested parentheses in conjunction with
(*ACCEPT) substrings in regular expressions until a patch is available.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾