Every CVE Search/ Get API key

CVE-2015-6832

Use-after-free vulnerability in the SPL unserialize implementation in ext/spl/spl_array.c in PHP...

7.3 HighFix available

Use-after-free vulnerability in the SPL unserialize implementation in ext/spl/spl_array.c in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allows remote attackers to execute arbitrary code via crafted serialized data that triggers misuse of an array field.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

5.01%Down 0.8 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.3

Use-after-free vulnerability in the SPL unserialize implementation in ext/spl/spl_array.c in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allows remote attackers to execute arbitrary code via crafted serialized data that triggers misuse of an array field.

Record
CVE-2015-6832
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

Use-after-free vulnerability in the SPL unserialize implementation in ext/spl/spl_array.c in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allows remote attackers to execute arbitrary code via crafted serialized data that triggers misuse of an array field.

Record
CVE-2015-6832
Updated
2026-11-02
EUVDEUVD-2015-6768 No score

Use-after-free vulnerability in the SPL unserialize implementation in ext/spl/spl_array.c in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allows remote attackers to execute arbitrary code via crafted serialized data that triggers misuse of an array field.

Record
EUVD-2015-6768
Updated
2026-11-03
GitHub AdvisoriesGHSA-7c6h-7vfv-vrfm 7.3

Use-after-free vulnerability in the SPL unserialize implementation in ext/spl/spl_array.c in PHP...

Use-after-free vulnerability in the SPL unserialize implementation in ext/spl/spl_array.c in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allows remote attackers to execute arbitrary code via crafted serialized data that triggers misuse of an array field.

Record
GHSA-7c6h-7vfv-vrfm
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVBELL-CVE-2015-6832 7.3

CVE-2015-6832 does not affect BellSoft software

Record
BELL-CVE-2015-6832
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2015-6832 7.3

Use-after-free vulnerability in the SPL unserialize implementation in ext/spl/spl_array.c in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allows remote attackers to execute arbitrary code via crafted serialized data that triggers misuse of an array field.

Record
UBUNTU-CVE-2015-6832
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVSUSE-SU-2015:1633-1 No score

Security update for php5

This update of PHP5 brings several security fixes.

Security fixes:

  • CVE-2015-6831: A use after free vulnerability in unserialize() has been fixed which could be used to crash php or potentially execute code. [bnc#942291] [bnc#942294] [bnc#942295]
  • CVE-2015-6832: A dangling pointer in the unserialization of ArrayObject items could be used to crash php or potentially execute code. [bnc#942293]
  • CVE-2015-6833: A directory traversal when extracting ZIP files could be used to overwrite files outside of intended area. [bnc#942296]
  • CVE-2015-6834: A Use After Free Vulnerability in unserialize() has been fixed which could be used to crash php or potentially execute code. [bnc#945403]
  • CVE-2015-6835: A Use After Free Vulnerability in session unserialize() has been fixed which could be used to crash php or potentially execute code. [bnc#945402]
  • CVE-2015-6836: A SOAP serialize_function_call() type confusion leading to remote code execution problem was fixed. [bnc#945428]
  • CVE-2015-6837 CVE-2015-6838: Two NULL pointer dereferences in the XSLTProcessor class were fixed. [bnc#945412]

Bugfixes:

  • Compare with SQL_NULL_DATA correctly [bnc#935074]
  • If MD5 was disabled in net-snmp we have to disable the used MD5 function in ext/snmp/snmp.c as well. (bsc#944302)

Also the Suhosin framework was updated to 0.9.38. [fate#319325]

Record
SUSE-SU-2015:1633-1
Updated
2026-11-02
OSVUSN-2758-1 No score

php5 vulnerabilities

It was discovered that the PHP phar extension incorrectly handled certain files. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2015-5589)

It was discovered that the PHP phar extension incorrectly handled certain filepaths. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-5590)

Taoguang Chen discovered that PHP incorrectly handled unserializing objects. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-6831, CVE-2015-6834, CVE-2015-6835

Sean Heelan discovered that PHP incorrectly handled unserializing objects. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-6832)

It was discovered that the PHP phar extension incorrectly handled certain archives. A remote attacker could use this issue to cause files to be placed outside of the destination directory. (CVE-2015-6833)

Andrea Palazzo discovered that the PHP Soap client incorrectly validated data types. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-6836)

It was discovered that the PHP XSLTProcessor class incorrectly handled certain data. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2015-6837)

Record
USN-2758-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
php5
Debian:6.0
From an advisory covering 9 CVEs
before 5.3.3.1-7+squeeze28, plus listed versions
5.3.3-75.3.3-7+squeeze15.3.3-7+squeeze135.3.3-7+squeeze145.3.3-7+squeeze15
Show 19 moreShow less
5.3.3-7+squeeze165.3.3-7+squeeze175.3.3-7+squeeze185.3.3-7+squeeze195.3.3-7+squeeze25.3.3-7+squeeze205.3.3-7+squeeze215.3.3-7+squeeze225.3.3-7+squeeze235.3.3-7+squeeze245.3.3-7+squeeze255.3.3-7+squeeze35.3.3-7+squeeze55.3.3-7+squeeze65.3.3-7+squeeze75.3.3-7+squeeze85.3.3-7+squeeze95.3.3.1-7+squeeze265.3.3.1-7+squeeze27
5.3.3.1-7+squeeze28
php5
Debian:7
From an advisory covering 8 CVEs
before 5.4.44-0+deb7u1, plus listed versions
5.4.11-15.4.15-15.4.34-0+deb7u15.4.35-0+deb7u15.4.35-0+deb7u2
Show 29 moreShow less
5.4.36-0+deb7u15.4.36-0+deb7u35.4.38-0+deb7u15.4.39-0+deb7u15.4.39-0+deb7u25.4.4-145.4.4-14+deb7u15.4.4-14+deb7u105.4.4-14+deb7u115.4.4-14+deb7u125.4.4-14+deb7u135.4.4-14+deb7u145.4.4-14+deb7u25.4.4-14+deb7u35.4.4-14+deb7u45.4.4-14+deb7u55.4.4-14+deb7u75.4.4-14+deb7u85.4.4-14+deb7u95.4.4-155.4.4-15.15.4.41-0+deb7u15.4.6-15.4.6-25.4.8-15.4.9-15.4.9-25.4.9-35.4.9-4
5.4.44-0+deb7u1
php5
Debian:8
From an advisory covering 8 CVEs
before 5.6.12+dfsg-0+deb8u1, plus listed versions
5.6.11+dfsg-15.6.7+dfsg-15.6.9+dfsg-0+deb8u15.6.9+dfsg-1
5.6.12+dfsg-0+deb8u1
rh-php56-php
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-bcmath
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-cli
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-common
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-dba
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-dbg
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-debuginfo
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
Show 55 moreShow less
Affected packages
PackageAffectedFixed
rh-php56-php-devel
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-embedded
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-enchant
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-fpm
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-gd
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-gmp
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-imap
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-intl
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-ldap
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-mbstring
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-mysqlnd
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-odbc
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-opcache
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-pdo
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-pgsql
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-process
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-pspell
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-recode
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-snmp
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-soap
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-tidy
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-xml
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php-xmlrpc
Red Hat:rhel_software_collections:2::el6
From an advisory covering 12 CVEs
before 0:5.6.5-8.el6
0:5.6.5-8.el6
rh-php56-php
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-bcmath
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-cli
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-common
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-dba
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-dbg
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-debuginfo
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-devel
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-embedded
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-enchant
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-fpm
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-gd
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-gmp
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-intl
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-ldap
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-mbstring
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-mysqlnd
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-odbc
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-opcache
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-pdo
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-pgsql
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-process
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-pspell
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-recode
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-snmp
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-soap
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-xml
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
rh-php56-php-xmlrpc
Red Hat:rhel_software_collections:2::el7
From an advisory covering 12 CVEs
before 0:5.6.5-8.el7
0:5.6.5-8.el7
php5
SUSE:Linux Enterprise Module for Web and Scripting 12
From an advisory covering 8 CVEs
before 5.5.14-36.1
5.5.14-36.1
php5
SUSE:Linux Enterprise Software Development Kit 12
From an advisory covering 8 CVEs
before 5.5.14-36.1
5.5.14-36.1
php5
Ubuntu:14.04:LTS
before 5.5.9+dfsg-1ubuntu4.13, plus listed versions
5.5.3+dfsg-1ubuntu25.5.3+dfsg-1ubuntu35.5.6+dfsg-1ubuntu15.5.6+dfsg-1ubuntu25.5.8+dfsg-2ubuntu1
Show 14 moreShow less
5.5.9+dfsg-1ubuntu15.5.9+dfsg-1ubuntu25.5.9+dfsg-1ubuntu35.5.9+dfsg-1ubuntu45.5.9+dfsg-1ubuntu4.15.5.9+dfsg-1ubuntu4.25.5.9+dfsg-1ubuntu4.35.5.9+dfsg-1ubuntu4.45.5.9+dfsg-1ubuntu4.55.5.9+dfsg-1ubuntu4.65.5.9+dfsg-1ubuntu4.75.5.9+dfsg-1ubuntu4.95.5.9+dfsg-1ubuntu4.115.5.9+dfsg-1ubuntu4.12
5.5.9+dfsg-1ubuntu4.13
php5
Ubuntu:14.04:LTS
From an advisory covering 10 CVEs
before 5.5.9+dfsg-1ubuntu4.13, plus listed versions
5.5.3+dfsg-1ubuntu25.5.3+dfsg-1ubuntu35.5.6+dfsg-1ubuntu15.5.6+dfsg-1ubuntu25.5.8+dfsg-2ubuntu1
Show 14 moreShow less
5.5.9+dfsg-1ubuntu15.5.9+dfsg-1ubuntu25.5.9+dfsg-1ubuntu35.5.9+dfsg-1ubuntu45.5.9+dfsg-1ubuntu4.15.5.9+dfsg-1ubuntu4.25.5.9+dfsg-1ubuntu4.35.5.9+dfsg-1ubuntu4.45.5.9+dfsg-1ubuntu4.55.5.9+dfsg-1ubuntu4.65.5.9+dfsg-1ubuntu4.75.5.9+dfsg-1ubuntu4.95.5.9+dfsg-1ubuntu4.115.5.9+dfsg-1ubuntu4.12
5.5.9+dfsg-1ubuntu4.13

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2015-6832 is a high vulnerability (CVSS 7.3) in Php, published August 27, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.01%, the 92nd percentile. Fixed in php5 5.5.9+dfsg-1ubuntu4.13.

References

Show 83 moreShow less
MoveEnter Open