CVE-2015-3217 json
PCRE 7.8 and 8.32 through 8.37, and PCRE2 10.10 mishandle group empty matches, which might allow remote attackers to cause a denial of serv…
published 9y ago modified 4mo ago also EUVD-2015-3280
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.2%
- EPSS 6.2% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
PCRE 7.8 and 8.32 through 8.37, and PCRE2 10.10 mishandle group empty matches, which might allow remote attackers to cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by /^(?:(?(1)\\.|([^\\\\W_])?)+)+$/.
Patch / fix
- pcre3 Debian 12 2:8.38-1
debian advisories DEBIAN-CVE-2015-3217
- rh-php56 RHEL 2 SOFTWARE_COLLECTIONS 2.3-1.el6
- rh-php56 RHEL 2 SOFTWARE_COLLECTIONS 2.3-1.el7
- rh-php56-php RHEL 2 SOFTWARE_COLLECTIONS 5.6.25-1.el6
- rh-php56-php RHEL 2 SOFTWARE_COLLECTIONS 5.6.25-1.el7
- rh-php56-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.6.25-1.el6
- rh-php56-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.6.25-1.el7
- rh-php56-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.6.25-1.el6
- rh-php56-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.6.25-1.el7
red hat advisories RHSA-2016:2750RHSA-2016:1132RHSA-2016:1025
- pcre SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for SAP 12 +12 more 8.39-7.1
- pcre SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +10 more 8.39-5.1
suse advisories SUSE-SU-2016:3161-1SUSE-SU-2016:2971-1
Is CVE-2015-3217 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-3217 updated cvss 4.3
pcre: stack overflow caused by mishandled group empty match (8.38/11)
-
Red Hat Enterprise Linux 6 pcre, glib2 Red Hat Enterprise Linux 7 glib2, glib2-fam, glib2-tests, virtuoso-opensource, virtuoso-opensource-utils Red Hat JBoss Enterprise Web Server 3 pcre Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, php54-php-cli, php54-php-dba, +44 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) pcre 8.32-15.el7_2.1 Red Hat Enterprise Linux Client Optional (v. 7) pcre-tools 8.32-15.el7_2.1 Red Hat Enterprise Linux ComputeNode (v. 7) pcre 8.32-15.el7_2.1 Red Hat Enterprise Linux ComputeNode Optional (v. 7) pcre-tools 8.32-15.el7_2.1 Red Hat Enterprise Linux Server (v. 7) pcre 8.32-15.el7_2.1 Red Hat Enterprise Linux Server Optional (v. 7) pcre-tools 8.32-15.el7_2.1fixed: vendor fix RHSA-2016:1025
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) pcre 8.32-15.el7_2.1 Red Hat Enterprise Linux Workstation Optional (v. 7) pcre-tools 8.32-15.el7_2.1 -
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-php56 2.3-1.el6, rh-php56-php 5.6.25-1.el6, rh-php56-runtime 2.3-1.el6, rh-php56-scldevel 2.3-1.el6, rh-php56-php-gd 5.6.25-1.el6, rh-php56-php-cli 5.6.25-1.el6, +34 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php56 2.3-1.el7, rh-php56-php 5.6.25-1.el7, rh-php56-runtime 2.3-1.el7, rh-php56-scldevel 2.3-1.el7, rh-php56-php-gd 5.6.25-1.el7, rh-php56-php-cli 5.6.25-1.el7, +32 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) rh-mariadb100-mariadb 10.0.25-4.el6, rh-mariadb100-mariadb-test 10.0.25-4.el6, rh-mariadb100-mariadb-bench 10.0.25-4.el6, rh-mariadb100-mariadb-common 10.0.25-4.el6, rh-mariadb100-mariadb-config 10.0.25-4.el6, rh-mariadb100-mariadb-errmsg 10.0.25-4.el6, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-php56 2.3-1.el6, rh-php56-php 5.6.25-1.el6, rh-php56-runtime 2.3-1.el6, rh-php56-scldevel 2.3-1.el6, rh-php56-php-gd 5.6.25-1.el6, rh-php56-php-cli 5.6.25-1.el6, +34 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) rh-mariadb100-mariadb 10.0.25-4.el7, rh-mariadb100-mariadb-test 10.0.25-4.el7, rh-mariadb100-mariadb-bench 10.0.25-4.el7, rh-mariadb100-mariadb-common 10.0.25-4.el7, rh-mariadb100-mariadb-config 10.0.25-4.el7, rh-mariadb100-mariadb-errmsg 10.0.25-4.el7, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) rh-php56 2.3-1.el7, rh-php56-php 5.6.25-1.el7, rh-php56-runtime 2.3-1.el7, rh-php56-scldevel 2.3-1.el7, rh-php56-php-gd 5.6.25-1.el7, rh-php56-php-cli 5.6.25-1.el7, +32 morefixed: vendor fix RHSA-2016:1132
-
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-php56 2.3-1.el7, rh-php56-php 5.6.25-1.el7, rh-php56-runtime 2.3-1.el7, rh-php56-scldevel 2.3-1.el7, rh-php56-php-gd 5.6.25-1.el7, rh-php56-php-cli 5.6.25-1.el7, +24 morefixed: vendor fix RHSA-2016:2750
-
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-php56 2.3-1.el6, rh-php56-php 5.6.25-1.el6, rh-php56-runtime 2.3-1.el6, rh-php56-scldevel 2.3-1.el6, rh-php56-php-gd 5.6.25-1.el6, rh-php56-php-cli 5.6.25-1.el6, +34 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php56 2.3-1.el7, rh-php56-php 5.6.25-1.el7, rh-php56-runtime 2.3-1.el7, rh-php56-scldevel 2.3-1.el7, rh-php56-php-gd 5.6.25-1.el7, rh-php56-php-cli 5.6.25-1.el7, +32 morefixed: vendor fix RHSA-2016:1132
-
Red Hat Directory Server 8 pcre Red Hat Enterprise Linux 5 pcre Red Hat JBoss Enterprise Web Server 1 httpd Red Hat JBoss Enterprise Web Server 2 jbcs-httpd24, jbcs-httpd24-runtime Red Hat Software Collections rh-mariadb101-mariadb, rh-mariadb101-mariadb-test, rh-mariadb101-mariadb-bench, rh-mariadb101-mariadb-common, rh-mariadb101-mariadb-config, rh-mariadb101-mariadb-errmsg, +3 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.17% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.exim.org https://bugs.exim.org/show_bug.cgi?id=1638 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
vcs.pcre.org
/pcre?view=revision&revision=1566
patch
-
bugs.exim.org
/show_bug.cgi?id=1638
exploit, issue-tracking, vendor-advisory
-
access.redhat.com
/errata/RHSA-2016:1132
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-1025.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2750.html
vendor-advisory
- oracle.com /technetwork/topics/security/linuxbulletinapr2016-2952096.html
-
openwall.com
/lists/oss-security/2015/06/03/7
mailing-list
-
www-01.ibm.com
/support/docview.wss?uid=isg3T1023886
third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1228283
issue-tracking
-
securityfocus.com
/bid/75018
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2015-3217
- NVD CVE-2015-3217
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.