Out-of-bounds Write Affecting php:7.4/php-cli package, versions <0:7.4.33-1.module_el8.8.0+3477+f828cbb0


Severity

Recommended
medium

Based on AlmaLinux 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-ALMALINUX8-PHP-22259330
  • published6 Nov 2026
  • disclosed16 May 2023

Introduced: 16 May 2023

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

How to fix?

Upgrade AlmaLinux:8 php:7.4/php-cli to version 0:7.4.33-1.module_el8.8.0+3477+f828cbb0 or higher.
This issue was patched in ALSA-2023:2903.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php:7.4/php-cli package and not the php:7.4/php-cli package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 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