Vulnerabilities · 2014 · Php
CVE-2014-8142
Php vulnerability
Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.36, 5.5.x before 5.5.20, and 5.6.x before 5.6.4 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages improper handling of duplicate keys within the serialized properties of an object, a different vulnerability than CVE-2004-1019.
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
- php.net/ChangeLog-5.php · Vendor Advisory
- bugs.php.net/bug.php?id=68594 · Exploit
- git.php.net/?p=php-src.git%3Ba=commit%3Bh=630f9c33c23639de85c3fd306b209b538b73b4c9
- 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
- marc.info/?l=bugtraq&m=144050155601375&w=2
- nvd.nist.gov/vuln/detail/CVE-2014-8142
- cve.org/CVERecord?id=CVE-2014-8142
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.