CVE-2014-4670: Use After Free

Published Jul 10, 2014
·
Updated

It was reported [1] that PHP incorrectly handled certain SPL Iterators. A local attacker, in particular shared hosting environments relying on PHP features such as openbasedir, safemode, disablefunctions, and similar), could use this flaw to cause PHP to crash, resulting in a denial of service.

This has been fixed upstream [2].

[1] https://bugs.php.net/bug.php?id=67538 [2] http://git.php.net/?p=php-src.git;a=commit;h=df78c48354f376cf419d7a97f88ca07d572f00fb

Other sources

Use-after-free vulnerability in ext/spl/spldllist.c in the SPL component in PHP through 5.5.14 allows context-dependent attackers to cause a denial of service or possibly have unspecified other impact via crafted iterator usage within applications in certain web-hosting environments.

— MITRE

Affected Software

29 affected componentsFixes available
PHP PHP<=5.5.14
PHP PHP=5.5.0
PHP PHP=5.5.0-alpha1
PHP PHP=5.5.0-alpha2
PHP PHP=5.5.0-alpha3
PHP PHP=5.5.0-alpha4
PHP PHP=5.5.0-alpha5
PHP PHP=5.5.0-alpha6
PHP PHP=5.5.0-beta1
PHP PHP=5.5.0-beta2
PHP PHP=5.5.0-beta3
PHP PHP=5.5.0-beta4
PHP PHP=5.5.0-rc1
PHP PHP=5.5.0-rc2
PHP PHP=5.5.1
PHP PHP=5.5.2
PHP PHP=5.5.3
PHP PHP=5.5.4
PHP PHP=5.5.5
PHP PHP=5.5.6
PHP PHP=5.5.7
PHP PHP=5.5.8
PHP PHP=5.5.9
PHP PHP=5.5.10
PHP PHP=5.5.11
PHP PHP=5.5.12
PHP PHP=5.5.13
redhat/php<5.5.15
5.5.15
debian/php5
5.4.4-14+deb7u135.6.0~rc3+dfsg-1

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.5.15
  2. Upgrade

    Upgrade debian/php5 to a version that resolves this vulnerability.

    Fixed in 5.4.4-14+deb7u13Fixed in 5.6.0~rc3+dfsg-1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch df78c48354f376cf419d7a97f88ca07d572f00fb

Event History

Jul 10, 2014
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
11:06 AM
DescriptionSeverityAffected Software
Jul 16, 2014
Data Sourced
via Red Hat·03:05 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2014-4670?

CVE-2014-4670 has been classified as a high severity vulnerability due to its potential to cause denial of service.

2

How do I fix CVE-2014-4670?

To fix CVE-2014-4670, upgrade your PHP installation to version 5.5.15 or later.

3

What versions of PHP are affected by CVE-2014-4670?

CVE-2014-4670 affects PHP versions from 5.5.0 up to and including 5.5.14.

4

What types of attacks are possible due to CVE-2014-4670?

CVE-2014-4670 can allow context-dependent attackers to cause denial of service through crafted iterator usage.

5

Is there a workaround for CVE-2014-4670?

There are no officially recommended workarounds for CVE-2014-4670; upgrading PHP is the safest option.

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