pcre: workspace overflow for (*ACCEPT) with deeply nested parentheses (8.39/13, 10.22/12)
Published Mar 17, 2016
9.8
CRITICALCVSS 3.0
EPSS 8.43%
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 products
No data.
- 8.00
- 8.01
- 8.02
- 8.10
- 8.11
- 8.12
- 8.13
- 8.20
- 8.21
- 8.30
- 8.31
- 8.32
- 8.33
- 8.34
- 8.35
- 8.36
- 8.37
- 8.38
- ≤ 10.21
No data.
Red Hat Enterprise Linux 7
pcre-0:8.32-15.el7_2.1
Fixed · RHSA-2016:1025
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-mariadb100-mariadb-1:10.0.25-4.el6
Fixed · RHSA-2016:1132
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
rh-mariadb100-mariadb-1:10.0.25-4.el6
Fixed · RHSA-2016:1132
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-mariadb100-mariadb-1:10.0.25-4.el6
Fixed · RHSA-2016:1132
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-mariadb100-mariadb-1:10.0.25-4.el7
Fixed · RHSA-2016:1132
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
rh-mariadb100-mariadb-1:10.0.25-4.el7
Fixed · RHSA-2016:1132
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-mariadb100-mariadb-1:10.0.25-4.el7
Fixed · RHSA-2016:1132
Red Hat Directory Server 8
pcre
Not affected
Red Hat Enterprise Linux 5
pcre
Not affected
Red Hat Enterprise Linux 6
glib2
Not affected
Red Hat Enterprise Linux 6
pcre
Not affected
Red Hat Enterprise Linux 7
glib2
Not affected
Red Hat Enterprise Linux 7
virtuoso-opensource
Not affected
Red Hat JBoss Enterprise Web Server 1
httpd
Not affected
Red Hat JBoss Enterprise Web Server 2
httpd
Not affected
Red Hat JBoss Enterprise Web Server 3
pcre
Will not fix
Red Hat Software Collections
php54-php
Will not fix
Red Hat Software Collections
php55-php
Will not fix
Red Hat Software Collections
rh-mariadb101-mariadb
Not affected
Red Hat Software Collections
rh-php56-php
Will not fix
Red Hat Software Collections
rh-php70-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | pcre-0:8.32-15.el7_2.1 | Fixed | RHSA-2016:1025 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-mariadb100-mariadb-1:10.0.25-4.el6 | Fixed | RHSA-2016:1132 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-mariadb100-mariadb-1:10.0.25-4.el6 | Fixed | RHSA-2016:1132 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-mariadb100-mariadb-1:10.0.25-4.el6 | Fixed | RHSA-2016:1132 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-mariadb100-mariadb-1:10.0.25-4.el7 | Fixed | RHSA-2016:1132 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | rh-mariadb100-mariadb-1:10.0.25-4.el7 | Fixed | RHSA-2016:1132 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-mariadb100-mariadb-1:10.0.25-4.el7 | Fixed | RHSA-2016:1132 |
| Red Hat Directory Server 8 | pcre | Not affected | n/a |
| Red Hat Enterprise Linux 5 | pcre | Not affected | n/a |
| Red Hat Enterprise Linux 6 | glib2 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | pcre | Not affected | n/a |
| Red Hat Enterprise Linux 7 | glib2 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | virtuoso-opensource | Not affected | n/a |
| Red Hat JBoss Enterprise Web Server 1 | httpd | Not affected | n/a |
| Red Hat JBoss Enterprise Web Server 2 | httpd | Not affected | n/a |
| Red Hat JBoss Enterprise Web Server 3 | pcre | Will not fix | n/a |
| Red Hat Software Collections | php54-php | Will not fix | n/a |
| Red Hat Software Collections | php55-php | Will not fix | n/a |
| Red Hat Software Collections | rh-mariadb101-mariadb | Not affected | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
| Red Hat Software Collections | rh-php70-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 8.43% (0.08430) | 94.83th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.43% (0.08430) | 94.28th | v5 (v2026.06.15) |
| May 27, 2026 | 7.92% (0.07915) | 92.14th | v4 (v2025.03.14) |
| Sep 16, 2025 | 11.34% (0.11337) | 93.29th | v4 (v2025.03.14) |
| Jun 3, 2025 | 6.29% (0.06286) | 90.47th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.52% (0.03515) | 86.51th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.84% (0.06841) | 85.22th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.52% (0.03515) | 86.84th | v4 (v2025.03.14) |
| Dec 17, 2024 | 10.33% (0.10330) | 94.96th | v3 (v2023.03.01) |
| Dec 12, 2024 | 15.37% (0.15368) | 96.09th | v3 (v2023.03.01) |
| Apr 16, 2024 | 15.14% (0.15143) | 95.74th | v3 (v2023.03.01) |
| Jun 18, 2023 | 11.65% (0.11647) | 94.45th | v3 (v2023.03.01) |
| May 10, 2023 | 8.58% (0.08575) | 93.49th | v3 (v2023.03.01) |
| Mar 7, 2023 | 7.46% (0.07463) | 93.03th | v3 (v2023.03.01) |
| Mar 6, 2023 | 6.70% (0.06698) | 91.56th | v2 (v2022.01.01) |
| Apr 1, 2022 | 6.70% (0.06698) | 90.75th | v2 (v2022.01.01) |
| Feb 4, 2022 | 6.70% (0.06698) | 78.74th | v2 (v2022.01.01) |
References (16)
- http://rhn.redhat.com/errata/RHSA-2016-1025.html vendor-advisoryx_refsource_REDHAT
- http://vcs.pcre.org/pcre2?view=revision&revision=489 x_refsource_CONFIRM
- http://vcs.pcre.org/pcre?view=revision&revision=1631 x_refsource_CONFIRM
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886 x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/84810 vdb-entryx_refsource_BID
- https://access.redhat.com/errata/RHSA-2016:1132 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2016-3191 Vendor Advisory
- https://bto.bluecoat.com/security-advisory/sa128 x_refsource_CONFIRM
- https://bugs.debian.org/815920 x_refsource_CONFIRM
- https://bugs.debian.org/815921 x_refsource_CONFIRM
- https://bugs.exim.org/show_bug.cgi?id=1791 x_refsource_CONFIRMExploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1311503 x_refsource_CONFIRMIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2016-3191
- https://www.cve.org/CVERecord?id=CVE-2016-3191
- https://www.tenable.com/security/tns-2016-18 x_refsource_CONFIRM
Change history (0)
No recorded changes yet.