All vulnerabilities

Servers and applications

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.

Severity
Medium 4.3
Published
20 Feb 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Fixed in
4.4.5, 5.2.1
Exploit chance
2.4% in the next 30 daysHigher than 84% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Memory buffer errors (CWE-119)
Attack
Over the network · No login needed
Attacker can
Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 5.0.0 before 5.2.1
  • Version 4.0
  • From 4.0.0 before 4.4.5
  • Version 4.0-rc2
All 10 release lines
  • Version 4.0-beta1
  • Version 4.0-beta2
  • Version 4.0-beta3
  • Version 4.0-beta4
  • Version 4.0-beta_4_patch1
  • Version 4.0-rc1
  • Version 4.0-rc2
  • From 4.0.0 before 4.4.5
  • Version 4.0
  • From 5.0.0 before 5.2.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-0988
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-0988