NULL Pointer Dereference Affecting php-pgsql package, versions <0:5.4.16-23.el7_0.1


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.7% (81st 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-PHPPGSQL-4527322
  • published26 Jul 2021
  • disclosed13 Mar 2014

Introduced: 13 Mar 2014

CVE-2014-2497  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade RHEL:7 php-pgsql to version 0:5.4.16-23.el7_0.1 or higher.
This issue was patched in RHSA-2014:1327.

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:7 relevant fixed versions and status.

The gdImageCreateFromXpm function in gdxpm.c in libgd, as used in PHP 5.4.26 and earlier, allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted color table in an XPM file.

CVSS Scores

version 3.1