Vulnerabilities · 2015 · Php
CVE-2015-0231
Php vulnerability
Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages improper handling of duplicate numerical keys within the serialized properties of an object. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-8142.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=68710 · Exploit
- github.com/php/php-src/commit/b585a3aed7880a5fa5c18e2b838fc96f40e075bd · Patch
- advisories.mageia.org/MGASA-2015-0040.html
- lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- lists.opensuse.org/opensuse-security-announce/2015-02/msg00029.html
- lists.opensuse.org/opensuse-updates/2015-02/msg00079.html
- marc.info/?l=bugtraq&m=143403519711434&w=2
- marc.info/?l=bugtraq&m=143748090628601&w=2
- nvd.nist.gov/vuln/detail/CVE-2015-0231
- cve.org/CVERecord?id=CVE-2015-0231
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.