Out-of-Bounds Affecting php package, versions <0:5.1.6-27.el5_6.7


Severity

Recommended
critical

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
44.77% (98th 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-9873352
  • published28 Apr 2025
  • disclosed20 Nov 2009

Introduced: 20 Nov 2009

CVE-2009-0689  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade RHEL:10 php to version 0:5.1.6-27.el5_6.7 or higher.
This issue was patched in RHSA-2014:0312.

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.

Array index error in the (1) dtoa implementation in dtoa.c (aka pdtoa.c) and the (2) gdtoa (aka new dtoa) implementation in gdtoa/misc.c in libc, as used in multiple operating systems and products including in FreeBSD 6.4 and 7.2, NetBSD 5.0, OpenBSD 4.5, Mozilla Firefox 3.0.x before 3.0.15 and 3.5.x before 3.5.4, K-Meleon 1.5.3, SeaMonkey 1.1.8, and other products, allows context-dependent attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large precision value in the format argument to a printf function, which triggers incorrect memory allocation and a heap-based buffer overflow during conversion to a floating-point number.

References

CVSS Base Scores

version 3.1