Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.5
CVE-2014-8142: PHP can run attacker code via crafted unserialize
CVE-2014-8142 · published 11 years ago
Summary
Versions of PHP before 5.4.36, 5.5.20, and 5.6.4 have a flaw in how they handle certain data during unserialize operations. An attacker could send specially crafted data that causes the server to execute unwanted code. Update PHP to the latest version or apply the provided patches to protect your systems.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| php | php |
<= 5.4.35 5.5.0 5.5.1 5.5.2 5.5.3 5.5.4 5.5.5 5.5.6 5.5.7 5.5.8 5.5.9 5.5.10 13 more version ranges
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
Original advisory text
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 exe...
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.
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=630f9c33c23639de85c3fd306b209b5...
- http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00029.html
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00079.html
- http://marc.info/?l=bugtraq&m=143403519711434&w=2
- http://marc.info/?l=bugtraq&m=143748090628601&w=2
- http://marc.info/?l=bugtraq&m=144050155601375&w=2
- http://php.net/ChangeLog-5.php Vendor Advisory
- http://rhn.redhat.com/errata/RHSA-2015-1053.html
- http://rhn.redhat.com/errata/RHSA-2015-1066.html
- http://rhn.redhat.com/errata/RHSA-2015-1135.html
- http://www.debian.org/security/2014/dsa-3117
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.h...
- http://www.securityfocus.com/bid/71791
- https://bugs.php.net/bug.php?id=68594 Exploit Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1175718
- https://security.gentoo.org/glsa/201503-03
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker partial control (estimated)
Severity
7.5
High
Timeline
Published20 Dec 2014
Updated23 Oct 2026
First seen29 Sep 2026
Sources
CVE-2014-8142 · NVD
Track software like this
Free during beta