CVE Vulnerabilities

CVE-2007-1285

Uncontrolled Recursion

Published: Mar 06, 2007 | Modified: Apr 09, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The Zend Engine in PHP 4.x before 4.4.7, and 5.x before 5.2.2, allows remote attackers to cause a denial of service (stack exhaustion and PHP crash) via deeply nested arrays, which trigger deep recursion in the variable destruction routines.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

NameVendorStart VersionEnd Version
PhpPhp4.0.0 (including)4.4.7 (excluding)
PhpPhp5.0.0 (including)5.2.2 (excluding)
Red Hat Enterprise Linux 2.1RedHatphp-0:4.1.2-2.17*
Red Hat Enterprise Linux 3RedHatphp-0:4.3.2-40.ent*
Red Hat Enterprise Linux 4RedHatphp-0:4.3.9-3.22.4*
Red Hat Enterprise Linux 5RedHatphp-0:5.1.6-7.el5*
Red Hat Web Application Stack for RHEL 4RedHatphp-0:5.1.6-3.el4s1.6*
Stronghold 4.0 for RHEL 2.1ASRedHatstronghold-php-0:4.1.2-15*
Php5Ubuntudapper*
Php5Ubuntudevel*
Php5Ubuntuedgy*
Php5Ubuntufeisty*

Potential Mitigations

References