Integer Overflow or Wraparound Affecting php-pgsql package, versions <0:5.1.6-3.el4s1.8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
9.57% (93rd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL10-PHPPGSQL-9881798
  • published28 Apr 2025
  • disclosed30 Aug 2007

Introduced: 30 Aug 2007

CVE-2007-3996  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:10 php-pgsql 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-pgsql package and not the php-pgsql package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

Multiple integer overflows in libgd in PHP before 5.2.4 allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large (1) srcW or (2) srcH value to the (a) gdImageCopyResized function, or a large (3) sy (height) or (4) sx (width) value to the (b) gdImageCreate or the (c) gdImageCreateTrueColor function.

References

CVSS Base Scores

version 3.1