CVE-2016-3191

9.8 CRITICAL
Published: March 17, 2016 Modified: May 06, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.securityfocus.com/bid/84810
Source: security@debian.org
https://bugs.debian.org/815920
Source: security@debian.org
https://bugs.debian.org/815921
Source: security@debian.org
https://bugs.exim.org/show_bug.cgi?id=1791
Source: security@debian.org
Exploit
http://rhn.redhat.com/errata/RHSA-2016-1025.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://vcs.pcre.org/pcre2?view=revision&revision=489
Source: af854a3a-2127-422b-91ae-364da2661108
http://vcs.pcre.org/pcre?view=revision&revision=1631
Source: af854a3a-2127-422b-91ae-364da2661108
http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/bid/84810
Source: af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/errata/RHSA-2016:1132
Source: af854a3a-2127-422b-91ae-364da2661108
https://bto.bluecoat.com/security-advisory/sa128
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugs.debian.org/815920
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugs.debian.org/815921
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugs.exim.org/show_bug.cgi?id=1791
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
https://bugzilla.redhat.com/show_bug.cgi?id=1311503
Source: af854a3a-2127-422b-91ae-364da2661108
https://www.tenable.com/security/tns-2016-18
Source: af854a3a-2127-422b-91ae-364da2661108

26 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
11.3%
94th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

pcre