CVE-2017-8923: 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 ne…

CVE-2017-8923 affects 150 listed versions of PHP in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
7%EPSS (next 30 days)
12 May 2017published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

150 of 250 listed versions are affected. Fixed in 7.4.24. The newest release, 8.6.0, is not affected.

7.4.23 7.4.22 7.4.21 7.4.20 7.4.19 7.3.33 7.3.32 7.3.31 7.3.30 7.3.29 7.3.28 7.3.27 7.3.26 7.3.25 7.3.24 7.3.23 7.3.22 7.3.21 7.3.20 7.3.19 7.2.34 7.2.33 7.2.32 7.2.31 7.2.30 7.2.29 7.2.28 7.2.27 7.2.26 7.2.25 7.2.24 7.2.23 7.2.22 7.2.21 7.2.20 7.1.33 7.1.32 7.1.31 7.1.30 7.1.29 7.1.28 7.1.27 7.1.26 7.1.25 7.1.24 7.1.23 7.1.22 7.1.21 7.1.20 7.1.19 7.0.33 7.0.32 7.0.31 7.0.30 7.0.29 7.0.28 7.0.27 7.0.26 7.0.25 7.0.24 and 90 more

What it is

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 12 May 2017. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2017-8923 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.