9.8

CVE-2016-3191: pcre

CVSS: 9.8v3.0CriticalModified
AliasesALPINE-CVE-2016-3191UBUNTU-CVE-2016-3191DEBIAN-CVE-2016-3191
Published 17-03-2016Last modified 05-08-2024

Vulnerability summary

CVE-2016-3191 is a critical (CVSS 9.8) vulnerability in pcre. EPSS estimates a 8.43% chance of exploitation in the next 30 days, higher than 94.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.0 (NVD)
EPSS score
8.43%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 6 · Related 3

Timeline

  1. 17-03-2016
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

8.43%

Chance of exploitation in the next 30 days

Percentile

95%

Versus all other CVEs

30-day change

0.00 pp

From 8.43% on 20-09-2026

20-09-202620-10-2026
EPSS score
8.43%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.exim.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • pcre2< 10.21-1
  • pcre3< 2:8.38-2 | < 8.02-1.1+deb6u1
Pcre2 products
  • pcre8.00 | 8.01 | 8.02 | 8.10 | 8.11 | 8.12 | 8.13 | 8.20 | 8.21 | 8.30 | 8.31 | 8.32 | 8.33 | 8.34 | 8.35 | 8.36 | 8.37 | 8.38
  • pcre2≤ 10.21
Alpine1 product
  • pcre< 8.38-r1
Ubuntu1 product
  • pcre3< 1:8.31-2ubuntu2.2

4 vendors · 6 products

References

18 links
Show all 18 references