U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2016-3191 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://rhn.redhat.com/errata/RHSA-2016-1025.html CVE, Debian GNU/Linux
http://vcs.pcre.org/pcre2?view=revision&revision=489 CVE, Debian GNU/Linux
http://vcs.pcre.org/pcre?view=revision&revision=1631 CVE, Debian GNU/Linux
http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886 CVE, Debian GNU/Linux
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html CVE, Debian GNU/Linux
http://www.securityfocus.com/bid/84810 CVE, Debian GNU/Linux
https://access.redhat.com/errata/RHSA-2016:1132 CVE, Debian GNU/Linux
https://bto.bluecoat.com/security-advisory/sa128 CVE, Debian GNU/Linux
https://bugs.debian.org/815920 CVE, Debian GNU/Linux
https://bugs.debian.org/815921 CVE, Debian GNU/Linux
https://bugs.exim.org/show_bug.cgi?id=1791 CVE, Debian GNU/Linux Exploit 
https://bugzilla.redhat.com/show_bug.cgi?id=1311503 CVE, Debian GNU/Linux
https://www.tenable.com/security/tns-2016-18 CVE, Debian GNU/Linux

Weakness Enumeration

CWE-ID CWE Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

10 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2016-3191
NVD Published Date:
03/17/2016
NVD Last Modified:
04/12/2025
Source:
Debian GNU/Linux