First published: Tue Feb 20 2007(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | =4.0-beta1 | |
PHP | =4.0-beta4 | |
PHP | =4.0-rc1 | |
PHP | =4.0 | |
PHP | =4.0-beta2 | |
PHP | =4.0-rc2 | |
PHP | =4.0-beta_4_patch1 | |
PHP | =4.0-beta3 | |
PHP | >=4.0.0<4.4.5 | |
PHP | >=5.0.0<5.2.1 | |
Ubuntu | =6.06 | |
Ubuntu | =6.10 | |
Ubuntu | =5.10 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-0988 is rated as a medium severity vulnerability due to its potential to cause a denial of service.
To fix CVE-2007-0988, upgrade PHP to version 5.2.1 or later, or to version 4.4.5 or later.
CVE-2007-0988 affects PHP 5 prior to version 5.2.1 and PHP 4 prior to version 4.4.5.
CVE-2007-0988 allows context-dependent attackers to cause a denial of service via an infinite loop when unserializing certain integer expressions.
CVE-2007-0988 manifests specifically on 64-bit platforms running the affected versions of PHP.