Buffer overflow in PHP
CVE-2007-0988
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.024, 84.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 4.0
- Canonical Ubuntu Linux — versions 5.10, 6.06, 6.10
Weakness classification (CWE)
References
- DSA-1264 (vendor-advisory, Broken Link)
- secunia.com/advisories/24295 (Third Party Advisory, third-party-advisory)
- 2007-0009 (vendor-advisory, Broken Link)
- OpenPKG-SA-2007.010 (vendor-advisory, Third Party Advisory)
- secunia.com/advisories/24195 (Third Party Advisory, third-party-advisory)
- ADV-2007-1991 (Third Party Advisory, vdb-entry)
- secunia.com/advisories/25056 (Third Party Advisory, third-party-advisory)
- www.securitytracker.com/id (Third Party Advisory, VDB Entry, vdb-entry)
- www.php-security.org/MOPB/MOPB-05-2007.html (Third Party Advisory)
- SSRT071423 (vendor-advisory, Broken Link)