cve.bz

CVE-2007-1285 Uncontrolled Recursion

7.5 highExploitEPSS 19%

High (7.5). EPSS 19% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
19% (unchanged from 19% a week ago; 19% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-674 Uncontrolled Recursion
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-1285 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-1285?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-1285?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-1285 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.7
php:phpfrom 5.0.0 before 5.2.2
canonical:ubuntu_linux7.10
novell:suse_linux10.0
novell:suse_linux10.1
suse:linux_enterprise_server8
suse:linux_enterprise_server10:sp1
redhat:enterprise_linux_desktop3.0
redhat:enterprise_linux_desktop4.0
redhat:enterprise_linux_server2.0
redhat:enterprise_linux_server3.0
redhat:enterprise_linux_server4.0
redhat:enterprise_linux_workstation2.0
redhat:enterprise_linux_workstation3.0
redhat:enterprise_linux_workstation4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
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.17RHSA-2007:0154
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-40.entRHSA-2007:0155
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.4RHSA-2007:0155
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.6RHSA-2007:0162
Red Hatrhel_stronghold:4.0stronghold-php, stronghold-php-imap, stronghold-php-ldap and 6 more0:4.1.2-15RHSA-2007:0163

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

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 2.1php-0:4.1.2-2.17Fixed 2007-04-16RHSA-2007:0154
Red Hat Enterprise Linux 3php-0:4.3.2-40.entFixed 2007-04-16RHSA-2007:0155
Red Hat Enterprise Linux 4php-0:4.3.9-3.22.4Fixed 2007-04-16RHSA-2007:0155
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.6Fixed 2007-04-16RHSA-2007:0162
Stronghold 4.0 for RHEL 2.1ASstronghold-php-0:4.1.2-15Fixed 2007-04-20RHSA-2007:0163

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-1285.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON