cve.bz

CVE-2007-0988

no score yetEPSS 2.5%Fix available

No CVSS score yet. EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
2.5% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2007-0988 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-0988?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-0988?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-0988 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:phpfrom 4.0.0 before 4.4.5
php:phpfrom 5.0.0 before 5.2.1
php:php4.0
php:php4.0:beta_4_patch1
php:php4.0:beta1
php:php4.0:beta2
php:php4.0:beta3
php:php4.0:beta4
php:php4.0:rc1
php:php4.0:rc2
canonical:ubuntu_linux5.10
canonical:ubuntu_linux6.06
canonical:ubuntu_linux6.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.1php44:4.3.10-19DSA-1264-1
Red Hatenterprise_linux:2.1::as, enterprise_linux:2.1::aw, enterprise_linux:2.1::es and 1 morephp, php-imap, php-ldap and 5 more0:4.1.2-2.14RHSA-2007:0081
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morephp, php-imap, php-ldap and 5 more0:4.3.2-39.entRHSA-2007:0076
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morephp, php-gd, php-imap and 12 more0:4.3.9-3.22.3RHSA-2007:0076
Red Hatenterprise_linux:5::client_workstation, enterprise_linux:5::serverphp, php-gd, php-cli and 17 more0:5.1.6-7.el5RHSA-2007:0082
Red Hatrhel_application_stack:1php, php-gd, php-cli and 17 more0:5.1.6-3.el4s1.5RHSA-2007:0088
Red Hatrhel_stronghold:4.0stronghold-php, stronghold-php-imap, stronghold-php-ldap and 6 more0:4.1.2-12RHSA-2007:0089

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 2.1php-0:4.1.2-2.14Fixed 2007-02-21RHSA-2007:0081
Red Hat Enterprise Linux 3php-0:4.3.2-39.entFixed 2007-02-19RHSA-2007:0076
Red Hat Enterprise Linux 4php-0:4.3.9-3.22.3Fixed 2007-02-19RHSA-2007:0076
Red Hat Enterprise Linux 5php-0:5.1.6-7.el5Fixed 2007-03-14RHSA-2007:0082
Red Hat Web Application Stack for RHEL 4php-0:5.1.6-3.el4s1.5Fixed 2007-02-22RHSA-2007:0088
Stronghold 4.0 for RHEL 2.1ASstronghold-php-0:4.1.2-12Fixed 2007-02-26RHSA-2007:0089

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2007-0988.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON