Live threats

All CVEs / Pcre

CVE-2016-3191Pcre

Critical 9.8 No auth needed

Priority
75
CVSS 3.0
9.8
EPSS
8.4%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Mar 17, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pcre.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pcrepcre8.00
pcrepcre8.01
pcrepcre8.02
pcrepcre8.10
pcrepcre8.11
pcrepcre8.12
pcrepcre8.13
pcrepcre8.20
pcrepcre8.21
pcrepcre8.30
pcrepcre8.31
pcrepcre8.32
pcrepcre8.33
pcrepcre8.34
pcrepcre8.35
pcrepcre8.36
pcrepcre8.37
pcrepcre8.38
pcrepcre2≤ 10.21

Official sources

References

Links published by the sources. Open them with care.