Out-of-bounds Write Affecting rh-php70-php-pgsql package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
7.19% (94th 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-RHPHP70PHPPGSQL-11406268
  • published3 Aug 2025
  • disclosed12 May 2017

Introduced: 12 May 2017

CVE-2017-8923  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 rh-php70-php-pgsql.

NVD Description

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

The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects that result in a negative length, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact by leveraging a script's use of .= with a long string.

CVSS Base Scores

version 3.1