Critical severity · published Mar 17, 2016
CVE-2016-3191
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…
9.8
CVSS
8.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)8.4% · higher than 95% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PC
Pcre · Pcre
8.00; 8.01; 8.02; 8.10; 8.11; 8.12; +12 more · source: NVD
PC
Pcre2 · Pcre
through 10.21 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2016-3191
CVE.org
https://www.cve.org/CVERecord?id=CVE-2016-3191
rhn.redhat.com
http://rhn.redhat.com/errata/RHSA-2016-1025.html
vcs.pcre.org
http://vcs.pcre.org/pcre2?view=revision&revision=489
vcs.pcre.org
http://vcs.pcre.org/pcre?view=revision&revision=1631
www-01.ibm.com
http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886
www.oracle.com
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
www.securityfocus.com
http://www.securityfocus.com/bid/84810
More from Pcre
9.8
CVE-2015-3210
Heap-based buffer overflow in PCRE 8.34 through 8.37 and PCRE2 10.10 allows remote attackers to execute arbitrary code via a crafted regular expression, as demonstrated by…
9.8
CVE-2016-1283
The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the…
9.8
CVE-2015-8391
The pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles certain [: nesting, which allows remote attackers to cause a denial of service (CPU consumption) or…
9.1
CVE-2015-5073
Heap-based buffer overflow in the find_fixedlength function in pcre_compile.c in PCRE before 8.38 allows remote attackers to cause a denial of service (crash) or obtain sensitive…
7.8
CVE-2015-2325
The compile_branch function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code, cause a denial of service (out-of-bounds heap read and crash), or…
