CVE-2016-3191
CRITICAL 9.8CVSS 3.0The 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.
- Published
- 17 Mar 2016
- Last modified
- 17 Jun 2026
- Assigned by
- security@debian.org
- NVD status
- Modified
- Weakness
- CWE-119
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.00:*:*:*:*:*:*:* |
= 8.00 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.01:*:*:*:*:*:*:* |
= 8.01 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.02:*:*:*:*:*:*:* |
= 8.02 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.10:*:*:*:*:*:*:* |
= 8.10 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.11:*:*:*:*:*:*:* |
= 8.11 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.12:*:*:*:*:*:*:* |
= 8.12 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.13:*:*:*:*:*:*:* |
= 8.13 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.20:*:*:*:*:*:*:* |
= 8.20 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.21:*:*:*:*:*:*:* |
= 8.21 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.30:*:*:*:*:*:*:* |
= 8.30 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.31:*:*:*:*:*:*:* |
= 8.31 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.32:*:*:*:*:*:*:* |
= 8.32 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.33:*:*:*:*:*:*:* |
= 8.33 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.34:*:*:*:*:*:*:* |
= 8.34 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.35:*:*:*:*:*:*:* |
= 8.35 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.36:*:*:*:*:*:*:* |
= 8.36 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.37:*:*:*:*:*:*:* |
= 8.37 | |
| NVD | pcre | pcrecpe:2.3:a:pcre:pcre:8.38:*:*:*:*:*:*:* |
= 8.38 | |
| NVD | pcre | pcre2cpe:2.3:a:pcre:pcre2:*:*:*:*:*:*:*:* |
<= 10.21 |
References
- http://rhn.redhat.com/errata/RHSA-2016-1025.html
- http://vcs.pcre.org/pcre2?view=revision&revision=489
- http://vcs.pcre.org/pcre?view=revision&revision=1631
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.securityfocus.com/bid/84810
- https://access.redhat.com/errata/RHSA-2016:1132
- https://bto.bluecoat.com/security-advisory/sa128
- https://bugs.debian.org/815920
- https://bugs.debian.org/815921
- https://bugs.exim.org/show_bug.cgi?id=1791 · Exploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1311503
- https://www.tenable.com/security/tns-2016-18
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 17 Mar 2016)