CVE-2008-2051 Affecting php-pgsql package, versions <0:5.1.6-3.el4s1.10


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
6.49% (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-PHPPGSQL-9879037
  • published28 Apr 2025
  • disclosed1 May 2008

Introduced: 1 May 2008

CVE-2008-2051  (opens in a new tab)

How to fix?

Upgrade RHEL:10 php-pgsql to version 0:5.1.6-3.el4s1.10 or higher.
This issue was patched in RHSA-2008:0582.

NVD Description

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

The escapeshellcmd API function in PHP before 5.2.6 has unknown impact and context-dependent attack vectors related to "incomplete multibyte chars."

References

CVSS Base Scores

version 3.1