Description
The deserialization code in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to cause a denial of service and execute arbitrary code via untrusted data to the unserialize function that may trigger "information disclosure, double-free and negative reference index array underflow" results.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | php +13 | 4.3.9-3.2 | RHSA-2005:032 |
| RHEL 3 | php +6 | 4.3.2-19.ent | RHSA-2004:687 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP2 | php53 | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
Advisories 3
- RHSA-2005:032 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2004:687 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- SUSE-SU-2016:1638-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- RHSA-2005:032 vendor-advisory
- php-unserialize-code-execution(18514) vdb-entry
- SUSE-SU-2015:0365 vendor-advisory
- SUSE-SA:2005:002 vendor-advisory
- http://www.php.net/release_4_3_10.php
- openSUSE-SU-2015:0325 vendor-advisory
- oval:org.mitre.oval:def:10511 vdb-entry signature
- RHSA-2005:816 vendor-advisory
- MDKSA-2004:151 vendor-advisory
- http://www.hardened-php.net/advisories/012004.txt
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- FLSA:2344 vendor-advisory
- OpenPKG-SA-2004.053 vendor-advisory
- HPSBMA01212 vendor-advisory
- RHSA-2004:687 vendor-advisory
- 20041215 Advisory 01/2004: Multiple vulnerabilities in PHP 4/5 mailing-list