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…
Check your servers for CVE-2007-0988
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-0988 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 2.46%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 85.1% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2007-0988 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-0988RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-0988Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2007-0988
trivy image --scanners vuln IMAGE | grep CVE-2007-0988
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
44 of 45 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- DSA-1264 us.debian.org · vendor advisory
- 24295 secunia.com · third party advisory
- 2007-0009 trustix.org · vendor advisory
- OpenPKG-SA-2007.010 openpkg.com · vendor advisory
- 24195 secunia.com · third party advisory
- 25056 secunia.com · third party advisory
- SSRT071423 h20000.www2.hp.com · vendor advisory
- 24606 secunia.com · third party advisory
- 2315 securityreason.com · third party advisory
- 24642 secunia.com · third party advisory
- 24217 secunia.com · third party advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-101.htm support.avaya.com
22 more
- 24248 secunia.com · third party advisory
- HPSBTU02232 h20000.www2.hp.com · vendor advisory
- https://issues.rpath.com/browse/RPL-1088 issues.rpath.com
- 24284 secunia.com · third party advisory
- USN-424-2 ubuntu.com · vendor advisory
- GLSA-200703-21 security.gentoo.org · vendor advisory
- 24432 secunia.com · third party advisory
- 24421 secunia.com · third party advisory
- 25423 secunia.com · third party advisory
- RHSA-2007:0076 redhat.com · vendor advisory
- 24419 secunia.com · third party advisory
- RHSA-2007:0089 rhn.redhat.com · vendor advisory
- RHSA-2007:0088 redhat.com · vendor advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-136.htm support.avaya.com
- RHSA-2007:0082 redhat.com · vendor advisory
- 25850 secunia.com · third party advisory
- MDKSA-2007:048 mandriva.com · vendor advisory
- SUSE-SA:2007:032 novell.com · vendor advisory
- USN-424-1 ubuntu.com · vendor advisory
- RHSA-2007:0081 redhat.com · vendor advisory
- 24322 secunia.com · third party advisory
- 24236 secunia.com · third party advisory
Other references
- ADV-2007-1991 vupen.com · vdb entry
- 1017671 securitytracker.com · vdb entry
- http://www.php-security.org/MOPB/MOPB-05-2007.html php-security.org
- http://www.php.net/releases/5_2_1.php php.net
- php-zendhashinit-dos(32709) exchange.xforce.ibmcloud.com · vdb entry
- oval:org.mitre.oval:def:11092 oval.cisecurity.org · vdb entry, signature
- 32762 osvdb.org · vdb entry
- ADV-2007-2374 vupen.com · vdb entry
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228858 bugzilla.redhat.com
- 20070227 rPSA-2007-0043-1 php php-mysql php-pgsql securityfocus.com · mailing list
Source: the record CVE-2007-0988 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse