CVE-2015-6831 json
Multiple use-after-free vulnerabilities in SPL in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allow remote attackers to…
published 10y ago modified 4mo ago also EUVD-2015-6767
- cvss
- 7.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.1%
- EPSS 7.1% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
Multiple use-after-free vulnerabilities in SPL in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allow remote attackers to execute arbitrary code via vectors involving (1) ArrayObject, (2) SplObjectStorage, and (3) SplDoublyLinkedList, which are mishandled during unserialization.
Patch / fix
- php php 5.4.44, 5.5.28, 5.6.12
- php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.13
ubuntu advisories UBUNTU-CVE-2015-6831
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rh-php56-php RHEL 2 SOFTWARE_COLLECTIONS 5.6.5-8.el6
- rh-php56-php RHEL 2 SOFTWARE_COLLECTIONS 5.6.5-8.el7
- rh-php56-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.6.5-8.el6
- rh-php56-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.6.5-8.el7
- rh-php56-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.6.5-8.el6
- rh-php56-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.6.5-8.el7
- rh-php56-php-dba RHEL 2 SOFTWARE_COLLECTIONS 5.6.5-8.el6
- rh-php56-php-dba RHEL 2 SOFTWARE_COLLECTIONS 5.6.5-8.el7
red hat advisories RHSA-2016:0457
- php53 SLES for SAP 11 SP4, SLES for SAP 11 SP3, SLES 11 SP4 +4 more 5.3.17-48.1
- php5 SLE Software Development Kit 12, SLE Module for Web and Scripting 12 5.5.14-36.1
- php53 SLES 11 SP2-LTSS 5.3.17-47.1
suse advisories SUSE-SU-2016:1638-1SUSE-SU-2015:1818-1SUSE-SU-2015:1633-1
Is CVE-2015-6831 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-6831 updated cvss 6.8
php: Use After Free Vulnerability in unserialize()
-
Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat OpenShift Enterprise 2 php 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 Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-php56-php 5.6.5-8.el6, rh-php56-php-gd 5.6.5-8.el6, rh-php56-php-cli 5.6.5-8.el6, rh-php56-php-dba 5.6.5-8.el6, rh-php56-php-dbg 5.6.5-8.el6, rh-php56-php-fpm 5.6.5-8.el6, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php56-php 5.6.5-8.el7, rh-php56-php-gd 5.6.5-8.el7, rh-php56-php-cli 5.6.5-8.el7, rh-php56-php-dba 5.6.5-8.el7, rh-php56-php-dbg 5.6.5-8.el7, rh-php56-php-fpm 5.6.5-8.el7, +20 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) rh-php56-php 5.6.5-8.el6, rh-php56-php-gd 5.6.5-8.el6, rh-php56-php-cli 5.6.5-8.el6, rh-php56-php-dba 5.6.5-8.el6, rh-php56-php-dbg 5.6.5-8.el6, rh-php56-php-fpm 5.6.5-8.el6, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-php56-php 5.6.5-8.el6, rh-php56-php-gd 5.6.5-8.el6, rh-php56-php-cli 5.6.5-8.el6, rh-php56-php-dba 5.6.5-8.el6, rh-php56-php-dbg 5.6.5-8.el6, rh-php56-php-fpm 5.6.5-8.el6, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) rh-php56-php 5.6.5-8.el7, rh-php56-php-gd 5.6.5-8.el7, rh-php56-php-cli 5.6.5-8.el7, rh-php56-php-dba 5.6.5-8.el7, rh-php56-php-dbg 5.6.5-8.el7, rh-php56-php-fpm 5.6.5-8.el7, +20 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) rh-php56-php 5.6.5-8.el7, rh-php56-php-gd 5.6.5-8.el7, rh-php56-php-cli 5.6.5-8.el7, rh-php56-php-dba 5.6.5-8.el7, rh-php56-php-dbg 5.6.5-8.el7, rh-php56-php-fpm 5.6.5-8.el7, +20 morefixed: vendor fix RHSA-2016:0457
+2 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-php56-php 5.6.5-8.el6, rh-php56-php-gd 5.6.5-8.el6, rh-php56-php-cli 5.6.5-8.el6, rh-php56-php-dba 5.6.5-8.el6, rh-php56-php-dbg 5.6.5-8.el6, rh-php56-php-fpm 5.6.5-8.el6, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php56-php 5.6.5-8.el7, rh-php56-php-gd 5.6.5-8.el7, rh-php56-php-cli 5.6.5-8.el7, rh-php56-php-dba 5.6.5-8.el7, rh-php56-php-dbg 5.6.5-8.el7, rh-php56-php-fpm 5.6.5-8.el7, +20 more
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
7.06% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
debian.org
/security/2015/dsa-3344
vendor-advisory
-
security.gentoo.org
/glsa/201606-10
vendor-advisory
-
securityfocus.com
/bid/76737
vdb-entry
- bugs.php.net /bug.php?id=70169
- bugs.php.net /bug.php?id=70168
-
openwall.com
/lists/oss-security/2015/08/19/3
mailing-list
- php.net /ChangeLog-5.php
- bugs.php.net /bug.php?id=70166
- bugs.php.net /bug.php?id=70155
Sources
- CVE List CVE-2015-6831
- NVD CVE-2015-6831
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.