CVEvulnerability

CVE-2007-0988

4.3 MEDIUM Published 2007-02-20 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2007-02-20
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
Weaknesses
CWE-119

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.

Affected configurations

• php php (>= 4.0.0 < 4.4.5) • php php (>= 5.0.0 < 5.2.1) • php php 4.0 • canonical ubuntu linux 5.10 • canonical ubuntu linux 6.06 • canonical ubuntu linux 6.10

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References