PT-2016-5407 · Kde+6 · Konqueror+7

Tomas Hoger

·

Published

2016-03-17

·

Updated

2018-01-05

·

CVE-2016-3191

CVSS v3.1

9.8

Critical

VectorAV: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.

Exploit

Fix

RCE

DoS

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2016-1611
ALT-PU-2016-1807
CESA-2016_1025
CVE-2016-3191
DLA-441-1
MGASA-2016-0204
OPENSUSE-SU-2024:10277-1
OPENSUSE-SU-2024:10447-1
RHSA-2016:1025
RHSA-2016:1132
RHSA-2016_1025
SUSE-SU-2016:2971-1
SUSE-SU-2016:3161-1
SUSE-SU-2017:2699-1
SUSE-SU-2017:2700-1
USN-2943-1
ZDI-16-477

Affected Products

Alt Linux
Centos
Konqueror
Pcre
Pcre2
Red Hat
Suse
Ubuntu