9.8
CRITICAL
CVE-2016-3191
Apache PCRE Remote Code Execution Buffer Overflow
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.

INFO

Published Date :

March 17, 2016, 11:59 p.m.

Last Modified :

Nov. 21, 2024, 2:49 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2016-3191 has a 7 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-3191 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Pcre pcre
2 Pcre pcre2
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Map Vulnerabilities into Different Layers of the Container Image

Python

Updated: 1 year, 11 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 5, 2022, 12:07 p.m. This repo has been linked 1276 different CVEs too.

None

Updated: 2 years, 4 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 3, 2022, 7:11 p.m. This repo has been linked 61 different CVEs too.

Helm chart for MarkLogic Server

Smarty Makefile Go Mustache Shell

Updated: 6 months ago
11 stars 15 fork 15 watcher
Born at : Aug. 16, 2021, 9:37 p.m. This repo has been linked 16 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache

Updated: 3 years, 9 months ago
0 stars 1 fork 1 watcher
Born at : Feb. 25, 2021, 9:59 a.m. This repo has been linked 61 different CVEs too.

None

Dockerfile Makefile

Updated: 2 years, 4 months ago
1 stars 0 fork 0 watcher
Born at : Dec. 15, 2020, 7:02 p.m. This repo has been linked 61 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent

Updated: 2 weeks, 2 days ago
1 stars 0 fork 0 watcher
Born at : Sept. 21, 2020, 7:37 a.m. This repo has been linked 61 different CVEs too.

None

Python

Updated: 11 months ago
9 stars 3 fork 3 watcher
Born at : June 15, 2016, 1:49 p.m. This repo has been linked 71 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-3191 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-3191 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-1025.html
    Added Reference http://vcs.pcre.org/pcre?view=revision&revision=1631
    Added Reference http://vcs.pcre.org/pcre2?view=revision&revision=489
    Added Reference http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
    Added Reference http://www.securityfocus.com/bid/84810
    Added Reference http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886
    Added Reference https://access.redhat.com/errata/RHSA-2016:1132
    Added Reference https://bto.bluecoat.com/security-advisory/sa128
    Added Reference https://bugs.debian.org/815920
    Added Reference https://bugs.debian.org/815921
    Added Reference https://bugs.exim.org/show_bug.cgi?id=1791
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1311503
    Added Reference https://www.tenable.com/security/tns-2016-18
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2016:1132 [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-1025.html [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 01, 2017

    Action Type Old Value New Value
    Added Reference https://www.tenable.com/security/tns-2016-18 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 28, 2016

    Action Type Old Value New Value
    Added Reference https://bto.bluecoat.com/security-advisory/sa128 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 15, 2016

    Action Type Old Value New Value
    Added Reference http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/84810 [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 04, 2016

    Action Type Old Value New Value
    Added Reference http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
  • Modified Analysis by [email protected]

    Mar. 21, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:pcre:pcre:8.38:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.37:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.36:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.35:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.34:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.33:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.32:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.31:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.30:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.21:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.20:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.13:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.12:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.11:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.10:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.02:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.01:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre:8.00:*:*:*:*:*:*:* *cpe:2.3:a:pcre:pcre2:10.21:*:*:*:*:*:*:* (and previous)
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.exim.org/show_bug.cgi?id=1791 No Types Assigned https://bugs.exim.org/show_bug.cgi?id=1791 Exploit
    Added CWE CWE-119
  • Initial Analysis by [email protected]

    Mar. 21, 2016

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

10.33 }} -5.04%

score

0.94963

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability