Skip to content
Fencer Vulns
medium 4.3

CVE-2007-0988 json

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 attac…

published 2007-02-20 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-0982

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.4%
EPSS 2.4% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

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.

Patch / fix

  • php php 4.4.5, 5.2.1
  • stronghold-php RHEL 4.0 STRONGHOLD 4.1.2-12
  • stronghold-php-imap RHEL 4.0 STRONGHOLD 4.1.2-12
  • stronghold-php-ldap RHEL 4.0 STRONGHOLD 4.1.2-12
  • stronghold-php-odbc RHEL 4.0 STRONGHOLD 4.1.2-12
  • stronghold-php-snmp RHEL 4.0 STRONGHOLD 4.1.2-12
  • stronghold-php-mysql RHEL 4.0 STRONGHOLD 4.1.2-12
  • stronghold-php-pgsql RHEL 4.0 STRONGHOLD 4.1.2-12
  • stronghold-php-manual RHEL 4.0 STRONGHOLD 4.1.2-12

red hat advisories RHSA-2007:0089RHSA-2007:0088RHSA-2007:0082RHSA-2007:0081RHSA-2007:0076

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2007-0988 updated

security flaw

  • Red Hat Application Stack v1 for Enterprise Linux AS (v.4) php 5.1.6-3.el4s1.5, php-gd 5.1.6-3.el4s1.5, php-cli 5.1.6-3.el4s1.5, php-dba 5.1.6-3.el4s1.5, php-pdo 5.1.6-3.el4s1.5, php-xml 5.1.6-3.el4s1.5, +12 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) php 5.1.6-3.el4s1.5, php-gd 5.1.6-3.el4s1.5, php-cli 5.1.6-3.el4s1.5, php-dba 5.1.6-3.el4s1.5, php-pdo 5.1.6-3.el4s1.5, php-xml 5.1.6-3.el4s1.5, +12 more
    fixed: vendor fix RHSA-2007:0088
  • Red Hat Desktop version 3 php 4.3.2-39.ent, php-imap 4.3.2-39.ent, php-ldap 4.3.2-39.ent, php-odbc 4.3.2-39.ent, php-mysql 4.3.2-39.ent, php-pgsql 4.3.2-39.ent
    fixed: vendor fix RHSA-2007:0076
  • Red Hat Enterprise Linux (v. 5 server) php 5.1.6-7.el5, php-gd 5.1.6-7.el5, php-cli 5.1.6-7.el5, php-dba 5.1.6-7.el5, php-pdo 5.1.6-7.el5, php-xml 5.1.6-7.el5, +12 more
    fixed: vendor fix RHSA-2007:0082
  • Red Hat Enterprise Linux AS (Advanced Server) version 2.1 php 4.1.2-2.14, php-imap 4.1.2-2.14, php-ldap 4.1.2-2.14, php-odbc 4.1.2-2.14, php-mysql 4.1.2-2.14, php-pgsql 4.1.2-2.14, +1 more
    fixed: vendor fix RHSA-2007:0081
  • Red Hat Enterprise Linux AS version 3 php 4.3.2-39.ent, php-imap 4.3.2-39.ent, php-ldap 4.3.2-39.ent, php-odbc 4.3.2-39.ent, php-mysql 4.3.2-39.ent, php-pgsql 4.3.2-39.ent Red Hat Enterprise Linux AS version 4 php 4.3.9-3.22.3, php-gd 4.3.9-3.22.3, php-imap 4.3.9-3.22.3, php-ldap 4.3.9-3.22.3, php-odbc 4.3.9-3.22.3, php-pear 4.3.9-3.22.3, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.22.3, php-gd 4.3.9-3.22.3, php-imap 4.3.9-3.22.3, php-ldap 4.3.9-3.22.3, php-odbc 4.3.9-3.22.3, php-pear 4.3.9-3.22.3, +7 more
    fixed: vendor fix RHSA-2007:0076
  • Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-7.el5, php-gd 5.1.6-7.el5, php-cli 5.1.6-7.el5, php-dba 5.1.6-7.el5, php-pdo 5.1.6-7.el5, php-xml 5.1.6-7.el5, +12 more
    fixed: vendor fix RHSA-2007:0082
  • Red Hat Enterprise Linux ES version 2.1 php 4.1.2-2.14, php-imap 4.1.2-2.14, php-ldap 4.1.2-2.14, php-odbc 4.1.2-2.14, php-mysql 4.1.2-2.14, php-pgsql 4.1.2-2.14, +1 more
    fixed: vendor fix RHSA-2007:0081
  • Red Hat Enterprise Linux ES version 3 php 4.3.2-39.ent, php-imap 4.3.2-39.ent, php-ldap 4.3.2-39.ent, php-odbc 4.3.2-39.ent, php-mysql 4.3.2-39.ent, php-pgsql 4.3.2-39.ent Red Hat Enterprise Linux ES version 4 php 4.3.9-3.22.3, php-gd 4.3.9-3.22.3, php-imap 4.3.9-3.22.3, php-ldap 4.3.9-3.22.3, php-odbc 4.3.9-3.22.3, php-pear 4.3.9-3.22.3, +7 more
    fixed: vendor fix RHSA-2007:0076
show 4 more
  • Red Hat Enterprise Linux WS version 2.1 php 4.1.2-2.14, php-imap 4.1.2-2.14, php-ldap 4.1.2-2.14, php-odbc 4.1.2-2.14, php-mysql 4.1.2-2.14, php-pgsql 4.1.2-2.14, +1 more
    fixed: vendor fix RHSA-2007:0081
  • Red Hat Enterprise Linux WS version 3 php 4.3.2-39.ent, php-imap 4.3.2-39.ent, php-ldap 4.3.2-39.ent, php-odbc 4.3.2-39.ent, php-mysql 4.3.2-39.ent, php-pgsql 4.3.2-39.ent Red Hat Enterprise Linux WS version 4 php 4.3.9-3.22.3, php-gd 4.3.9-3.22.3, php-imap 4.3.9-3.22.3, php-ldap 4.3.9-3.22.3, php-odbc 4.3.9-3.22.3, php-pear 4.3.9-3.22.3, +7 more
    fixed: vendor fix RHSA-2007:0076
  • Red Hat Linux Advanced Workstation 2.1 php 4.1.2-2.14, php-imap 4.1.2-2.14, php-ldap 4.1.2-2.14, php-odbc 4.1.2-2.14, php-mysql 4.1.2-2.14, php-pgsql 4.1.2-2.14, +1 more
    fixed: vendor fix RHSA-2007:0081
  • Red Hat Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1) stronghold-php 4.1.2-12, stronghold-php-imap 4.1.2-12, stronghold-php-ldap 4.1.2-12, stronghold-php-odbc 4.1.2-12, stronghold-php-snmp 4.1.2-12, stronghold-php-mysql 4.1.2-12, +2 more
    fixed: vendor fix RHSA-2007:0089

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.40% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.