CVE-2015-6831: Use After Free

Published Aug 24, 2015
·
Updated

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.

Other sources

Use-after-free vulnerabilities that can potentially lead to remote code execution were reported in PHP: https://bugs.php.net/bug.php?id=70166 https://bugs.php.net/bug.php?id=70168 https://bugs.php.net/bug.php?id=70169

CVE assignment: http://seclists.org/oss-sec/2015/q3/523

Upstream fixes:

(Bug #70166): http://git.php.net/?p=php-src.git;a=commit;h=7381b6accc5559b2de039af3a22f6ec1003b03b3 (Bug #70168): http://git.php.net/?p=php-src.git;a=commit;h=c2e197e4efc663ca55f393bf0e799848842286f3 ( crash" href="showbug.cgi?id=70169">Bug #70169): http://git.php.net/?p=php-src.git;a=commit;h=863bf294feb9ad425eadb94f288bc7f18673089d

— Red Hat

Affected Software

8 affected componentsFixes available
PHP PHP<5.4.44
PHP PHP>=5.5.0<5.5.28
PHP PHP>=5.6.0<5.6.12
Debian Debian Linux=7.0
Debian Debian Linux=8.0
redhat/php<5.6.12
5.6.12
redhat/php<5.5.28
5.5.28
redhat/php<5.4.44
5.4.44

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/PHP to a version that resolves this vulnerability.

    Fixed in 5.6.12
  2. Upgrade

    Upgrade redhat/PHP to a version that resolves this vulnerability.

    Fixed in 5.5.28
  3. Upgrade

    Upgrade redhat/PHP to a version that resolves this vulnerability.

    Fixed in 5.4.44
  4. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 5.4.44
  5. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 5.5.28
  6. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 5.6.12

Event History

Aug 24, 2015
Data Sourced
via Red Hat·09:59 AM
DescriptionSeverityAffected Software
Jan 19, 2016
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Data Sourced
05:59 AM
DescriptionSeverityWeaknessAffected Software
Aug 5, 2022
Event
02:28 PM

Frequently Asked Questions

1

What is the severity of CVE-2015-6831?

CVE-2015-6831 is categorized as a critical vulnerability due to its potential to allow remote code execution.

2

How do I fix CVE-2015-6831?

To fix CVE-2015-6831, update PHP to version 5.4.44 or later, 5.5.28 or later, or 5.6.12 or later.

3

What types of objects are affected by CVE-2015-6831?

CVE-2015-6831 affects ArrayObject, SplObjectStorage, and SplDoublyLinkedList in PHP.

4

Can CVE-2015-6831 be exploited remotely?

Yes, CVE-2015-6831 can be exploited remotely by attackers through vulnerabilities in the unserialization process.

5

When was CVE-2015-6831 disclosed?

CVE-2015-6831 was disclosed in August 2015.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203