Uncontrolled Recursion in PHP - CVE-2007-1285

 

Uncontrolled Recursion in PHP - CVE-2007-1285

Published: February 2, 2024 / Updated: June 13, 2025


Vulnerability identifier: #VU110454
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2007-1285
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

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.


How to mitigate CVE-2007-1285

Install update from vendor's website.

Sources