CVE-2016-3191

HIGH

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.

References

http://rhn.redhat.com/errata/RHSA-2016-1025.html

http://vcs.pcre.org/pcre?view=revision&revision=1631

http://vcs.pcre.org/pcre2?view=revision&revision=489

http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html

http://www.securityfocus.com/bid/84810

http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886

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

https://bugzilla.redhat.com/show_bug.cgi?id=1311503

https://www.tenable.com/security/tns-2016-18

Details

Source: MITRE

Published: 2016-03-17

Updated: 2018-01-05

Type: CWE-119

Risk Information

CVSS v2.0

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3.0

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL

Tenable Plugins

View all (15 total)

IDNameProductFamilySeverity
125102EulerOS Virtualization 3.0.1.0 : pcre (EulerOS-SA-2019-1558)NessusHuawei Local Security Checks
high
117348Amazon Linux AMI : pcre (ALAS-2018-1076)NessusAmazon Linux Local Security Checks
high
99786EulerOS 2.0 SP1 : pcre (EulerOS-SA-2016-1023)NessusHuawei Local Security Checks
high
97893Tenable Log Correlation Engine (LCE) < 4.8.1 Multiple VulnerabilitiesNessusMisc.
critical
95915SUSE SLED12 / SLES12 Security Update : pcre (SUSE-SU-2016:3161-1)NessusSuSE Local Security Checks
high
95754openSUSE Security Update : pcre (openSUSE-2016-1448)NessusSuSE Local Security Checks
high
95534SUSE SLED12 / SLES12 Security Update : pcre (SUSE-SU-2016:2971-1)NessusSuSE Local Security Checks
high
94906openSUSE Security Update : pcre (openSUSE-2016-1303)NessusSuSE Local Security Checks
high
92974openSUSE Security Update : pcre2 (openSUSE-2016-966)NessusSuSE Local Security Checks
high
91104CentOS 7 : pcre (CESA-2016:1025)NessusCentOS Local Security Checks
high
91081Scientific Linux Security Update : pcre on SL7.x x86_64 (20160511)NessusScientific Linux Local Security Checks
high
91078RHEL 7 : pcre (RHSA-2016:1025)NessusRed Hat Local Security Checks
high
91072Oracle Linux 7 : pcre (ELSA-2016-1025)NessusOracle Linux Local Security Checks
high
90306Ubuntu 12.04 LTS / 14.04 LTS / 15.10 : pcre3 vulnerabilities (USN-2943-1)NessusUbuntu Local Security Checks
high
90050FreeBSD : pcre -- stack buffer overflow (7033b42d-ef09-11e5-b766-14dae9d210b8)NessusFreeBSD Local Security Checks
high