Description
The zend_hash_init function in PHP 5 before 5.2.1 and PHP 4 before 4.4.5, when running on a 64-bit platform, allows context-dependent attackers to cause a denial of service (infinite loop) by unserializing certain integer expressions, which only cause 32-bit arguments to be used after the check for a negative value, as demonstrated by an "a:2147483649:{" argument.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 3.1 | php4 | 4:4.3.10-19 | DSA-1264-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | php +18 | 5.1.6-7.el5 | RHSA-2007:0082 |
| RHEL 4 | php +13 | 4.3.9-3.22.3 | RHSA-2007:0076 |
| RHEL 3 | php +6 | 4.3.2-39.ent | RHSA-2007:0076 |
| RHEL 2 | php +7 | 4.1.2-2.14 | RHSA-2007:0081 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Stronghold 4 | stronghold-php +8 | 4.1.2-12 | RHSA-2007:0089 |
| Red Hat Rhel Application Stack 1 | php +18 | 5.1.6-3.el4s1.5 | RHSA-2007:0088 |
Advisories 6
- RHSA-2007:0089 Red Hat Security Advisory: php security update for Stronghold Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2007:0088 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2007:0082 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2007:0076 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2007:0081 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-1264-1 php4 Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-1264 vendor-advisory
- 24295 third-party-advisory
- 2007-0009 vendor-advisory
- OpenPKG-SA-2007.010 vendor-advisory
- 24195 third-party-advisory
- ADV-2007-1991 vdb-entry
- 25056 third-party-advisory
- 1017671 vdb-entry
- http://www.php-security.org/MOPB/MOPB-05-2007.html
- SSRT071423 vendor-advisory
- http://www.php.net/releases/5_2_1.php
- 24606 third-party-advisory
- 2315 third-party-advisory
- 24642 third-party-advisory
- php-zendhashinit-dos(32709) vdb-entry
- 24217 third-party-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-101.htm
- 24248 third-party-advisory
- HPSBTU02232 vendor-advisory
- https://issues.rpath.com/browse/RPL-1088
- oval:org.mitre.oval:def:11092 vdb-entry signature
- 24284 third-party-advisory
- USN-424-2 vendor-advisory
- 32762 vdb-entry
- GLSA-200703-21 vendor-advisory
- 24432 third-party-advisory
- 24421 third-party-advisory
- ADV-2007-2374 vdb-entry
- 25423 third-party-advisory
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228858
- RHSA-2007:0076 vendor-advisory
- 24419 third-party-advisory
- RHSA-2007:0089 vendor-advisory
- RHSA-2007:0088 vendor-advisory
- 20070227 rPSA-2007-0043-1 php php-mysql php-pgsql mailing-list
- http://support.avaya.com/elmodocs2/security/ASA-2007-136.htm
- RHSA-2007:0082 vendor-advisory
- 25850 third-party-advisory
- MDKSA-2007:048 vendor-advisory
- SUSE-SA:2007:032 vendor-advisory
- USN-424-1 vendor-advisory
- RHSA-2007:0081 vendor-advisory
- 24322 third-party-advisory
- 24236 third-party-advisory