Loop with Unreachable Exit Condition ('Infinite Loop') Affecting php package, versions <0:5.1.6-3.el4s1.8


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
6.46% (91st 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-9884645
  • published28 Apr 2025
  • disclosed16 May 2007

Introduced: 16 May 2007

CVE-2007-2756  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

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

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 gdPngReadData function in libgd 2.0.34 allows user-assisted attackers to cause a denial of service (CPU consumption) via a crafted PNG image with truncated data, which causes an infinite loop in the png_read_info function in libpng.

References

CVSS Base Scores

version 3.1