CVE-2016-3191

Summary

CVECVE-2016-3191
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-03-17 23:59:00 UTC
Updated2018-01-05 02:30:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-119

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Pcre Pcre 8.00 All All All
Application Pcre Pcre 8.01 All All All
Application Pcre Pcre 8.02 All All All
Application Pcre Pcre 8.10 All All All
Application Pcre Pcre 8.11 All All All
Application Pcre Pcre 8.12 All All All
Application Pcre Pcre 8.13 All All All
Application Pcre Pcre 8.20 All All All
Application Pcre Pcre 8.21 All All All
Application Pcre Pcre 8.30 All All All
Application Pcre Pcre 8.31 All All All
Application Pcre Pcre 8.32 All All All
Application Pcre Pcre 8.33 All All All
Application Pcre Pcre 8.34 All All All
Application Pcre Pcre 8.35 All All All
Application Pcre Pcre 8.36 All All All
Application Pcre Pcre 8.37 All All All
Application Pcre Pcre 8.38 All All All
Application Pcre Pcre 8.00 All All All
Application Pcre Pcre 8.01 All All All
Application Pcre Pcre 8.02 All All All
Application Pcre Pcre 8.10 All All All
Application Pcre Pcre 8.11 All All All
Application Pcre Pcre 8.12 All All All
Application Pcre Pcre 8.13 All All All
Application Pcre Pcre 8.20 All All All
Application Pcre Pcre 8.21 All All All
Application Pcre Pcre 8.30 All All All
Application Pcre Pcre 8.31 All All All
Application Pcre Pcre 8.32 All All All
Application Pcre Pcre 8.33 All All All
Application Pcre Pcre 8.34 All All All
Application Pcre Pcre 8.35 All All All
Application Pcre Pcre 8.36 All All All
Application Pcre Pcre 8.37 All All All
Application Pcre Pcre 8.38 All All All
Application Pcre Pcre2 All All All All

References

ReferenceSourceLinkTags
IBM Security Bulletin: Multiple vulnerabilities in PCRE affect PowerKVM - United States CONFIRM www-01.ibm.com
Broadcom Support Portal CONFIRM bto.bluecoat.com
Bug 1791 – ZDI-CAN-3542: New Vulnerability Report CONFIRM bugs.exim.org Exploit
Bug 1311503 – CVE-2016-3191 pcre: workspace overflow for (*ACCEPT) with deeply nested parentheses (8.39/13, 10.22/12) CONFIRM bugzilla.redhat.com
#815920 - pcre2: CVE-2016-3191: workspace overflow for (*ACCEPT) with deeply nested parentheses - Debian Bug report logs CONFIRM bugs.debian.org
PCRE CVE-2016-3191 Buffer Overflow Vulnerability BID www.securityfocus.com
[R7] LCE 4.8.1 Fixes Multiple Vulnerabilities - Security Advisory | Tenable™ CONFIRM www.tenable.com
Oracle Linux Bulletin - April 2016 CONFIRM www.oracle.com
[pcre] Revision 1631 CONFIRM vcs.pcre.org
[pcre2] Revision 489 CONFIRM vcs.pcre.org
#815921 - pcre3: CVE-2016-3191: workspace overflow for (*ACCEPT) with deeply nested parentheses - Debian Bug report logs CONFIRM bugs.debian.org
Red Hat Customer Portal REDHAT access.redhat.com
Red Hat Customer Portal REDHAT rhn.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report