pcre: Buffer overflow caused by duplicate named references (8.38/36)
Published Dec 2, 2015
7.5
HIGHCVSS 2.0
EPSS 5.29%
Description
The compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compile.c in PCRE2 before 10.2x mishandles the /(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/ and /(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/ patterns, and related patterns with certain group references, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.
Affected products
No data.
- ≤ 8.37
No data.
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
rh-php56-0:2.3-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-0:5.6.25-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-pear-1:1.9.5-4.el6
Fixed · RHSA-2016:2750
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 6.7 EUS
rh-php56-0:2.3-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-php-0:5.6.25-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-php-pear-1:1.9.5-4.el6
Fixed · RHSA-2016:2750
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
rh-php56-0:2.3-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-0:5.6.25-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-pear-1:1.9.5-4.el7
Fixed · RHSA-2016:2750
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 Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-0:2.3-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-php-0:5.6.25-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-php-pear-1:1.9.5-4.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php56-0:2.3-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php56-php-0:5.6.25-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php56-php-pear-1:1.9.5-4.el7
Fixed · RHSA-2016:2750
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
pcre
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
Not affected
Red Hat Software Collections
php54-php
Not affected
Red Hat Software Collections
php55-php
Not affected
Red Hat Software Collections
rh-mariadb101-mariadb
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| 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 | rh-php56-0:2.3-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-0:5.6.25-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-pear-1:1.9.5-4.el6 | Fixed | RHSA-2016:2750 |
| 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 6.7 EUS | rh-php56-0:2.3-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-php-0:5.6.25-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-php-pear-1:1.9.5-4.el6 | Fixed | RHSA-2016:2750 |
| 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 | rh-php56-0:2.3-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-0:5.6.25-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-pear-1:1.9.5-4.el7 | Fixed | RHSA-2016:2750 |
| 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 Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-0:2.3-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-php-0:5.6.25-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-php-pear-1:1.9.5-4.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php56-0:2.3-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php56-php-0:5.6.25-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php56-php-pear-1:1.9.5-4.el7 | Fixed | RHSA-2016:2750 |
| 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 | pcre | 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 | Not affected | n/a |
| Red Hat Software Collections | php54-php | Not affected | n/a |
| Red Hat Software Collections | php55-php | Not affected | n/a |
| Red Hat Software Collections | rh-mariadb101-mariadb | Not affected | 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.
No CVSS v3.0 score for this CVE.
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 (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.29% (0.05286) | 92.32th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.29% (0.05286) | 91.49th | v5 (v2026.06.15) |
| Mar 23, 2026 | 5.80% (0.05803) | 90.43th | v4 (v2025.03.14) |
| Dec 7, 2025 | 10.59% (0.10587) | 93.00th | v4 (v2025.03.14) |
| May 17, 2025 | 9.05% (0.09050) | 92.17th | v4 (v2025.03.14) |
| Mar 17, 2025 | 6.55% (0.06554) | 90.44th | v4 (v2025.03.14) |
| Dec 17, 2024 | 1.99% (0.01989) | 88.49th | v3 (v2023.03.01) |
| Mar 3, 2024 | 3.86% (0.03856) | 91.65th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.76% (0.02758) | 88.94th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.97% (0.01974) | 78.97th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.97% (0.01974) | 77.12th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.97% (0.01974) | 56.20th | v2 (v2022.01.01) |
References (13)
- http://rhn.redhat.com/errata/RHSA-2016-2750.html vendor-advisoryx_refsource_REDHAT
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup x_refsource_CONFIRMExploitRelease Notes
- http://www.openwall.com/lists/oss-security/2015/11/29/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/76187 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2016:1132 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2015-8381 Vendor Advisory
- https://bto.bluecoat.com/security-advisory/sa128 x_refsource_CONFIRMThird Party Advisory
- https://bugs.exim.org/show_bug.cgi?id=1667 x_refsource_CONFIRMExploit
- https://bugs.exim.org/show_bug.cgi?id=1672 x_refsource_CONFIRMExploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1287711 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-8381
- https://security.gentoo.org/glsa/201607-02 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2015-8381
Change history (0)
No recorded changes yet.