CVEvulnerability
CVE-2016-3191
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2016-03-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 9.8 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-119
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.
Affected configurations
• pcre pcre 8.00
• pcre pcre 8.01
• pcre pcre 8.02
• pcre pcre 8.10
• pcre pcre 8.11
• pcre pcre 8.12
• pcre pcre 8.13
• pcre pcre 8.20
• pcre pcre 8.21
• pcre pcre 8.30
• pcre pcre 8.31
• pcre pcre 8.32
• pcre pcre 8.33
• pcre pcre 8.34
• pcre pcre 8.35
• pcre pcre 8.36
• pcre pcre 8.37
• pcre pcre 8.38
• pcre pcre2 (<= 10.21)
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://rhn.redhat.com/errata/RHSA-2016-1025.html rhn.redhat.com
- http://vcs.pcre.org/pcre2?view=revision&revision=489 vcs.pcre.org
- http://vcs.pcre.org/pcre?view=revision&revision=1631 vcs.pcre.org
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886 www-01.ibm.com
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html www.oracle.com
- http://www.securityfocus.com/bid/84810 www.securityfocus.com
- https://access.redhat.com/errata/RHSA-2016:1132 access.redhat.com
- https://bto.bluecoat.com/security-advisory/sa128 bto.bluecoat.com
- https://bugs.debian.org/815920 bugs.debian.org
- https://bugs.debian.org/815921 bugs.debian.org
- https://bugs.exim.org/show_bug.cgi?id=1791 Exploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1311503 bugzilla.redhat.com
- https://www.tenable.com/security/tns-2016-18 www.tenable.com
- http://rhn.redhat.com/errata/RHSA-2016-1025.html rhn.redhat.com
- http://vcs.pcre.org/pcre2?view=revision&revision=489 vcs.pcre.org
- http://vcs.pcre.org/pcre?view=revision&revision=1631 vcs.pcre.org
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886 www-01.ibm.com
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html www.oracle.com
- http://www.securityfocus.com/bid/84810 www.securityfocus.com
- https://access.redhat.com/errata/RHSA-2016:1132 access.redhat.com
- https://bto.bluecoat.com/security-advisory/sa128 bto.bluecoat.com
- https://bugs.debian.org/815920 bugs.debian.org
- https://bugs.debian.org/815921 bugs.debian.org
- https://bugs.exim.org/show_bug.cgi?id=1791 Exploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1311503 bugzilla.redhat.com
- https://www.tenable.com/security/tns-2016-18 www.tenable.com