Uncontrolled Recursion Affecting php package, versions <0:5.1.6-3.el4s1.6


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
11.46% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-PHP-9865690
  • published28 Apr 2025
  • disclosed1 Mar 2007

Introduced: 1 Mar 2007

CVE-2007-1285  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade RHEL:10 php to version 0:5.1.6-3.el4s1.6 or higher.
This issue was patched in RHSA-2007:0162.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php package and not the php package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1