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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2016-3191 from the MITRE CVE dictionary dictionary and NIST NVD.
Base Score | 6.8 |
---|---|
Base Metrics | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Access Vector | Network |
Access Complexity | Medium |
Authentication | None |
Confidentiality Impact | Partial |
Integrity Impact | Partial |
Availability Impact | Partial |
Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).
Platform | Errata | Release Date |
---|---|---|
Red Hat Enterprise Linux 7 (pcre) | RHSA-2016:1025 | 2016-05-11 |
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-mariadb100-mariadb) | RHSA-2016:1132 | 2016-05-26 |
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-mariadb100-mariadb) | RHSA-2016:1132 | 2016-05-26 |
Platform | Package | State |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux | rh-mariadb101-mariadb | Not affected |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-php70-php | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | php55-php | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-php56-php | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | php54-php | Will not fix |
Red Hat JBoss Web Server 3.0 | pcre | Will not fix |
Red Hat JBoss EWS 2 | httpd | Not affected |
Red Hat JBoss EWS 1 | httpd | Not affected |
Red Hat Enterprise Linux 7 | virtuoso-opensource | Not affected |
Red Hat Enterprise Linux 7 | glib2 | Will not fix |
Red Hat Enterprise Linux 6 | pcre | Not affected |
Red Hat Enterprise Linux 6 | glib2 | Will not fix |
Red Hat Enterprise Linux 5 | pcre | Not affected |
Red Hat Directory Server 8 | pcre | Not affected |