Skip to main content

CVE tracker

CVE-2017-8923

Negative string length after .= with a long string

Severity: Critical CVSS 9.8. Status in our packages: Fixed.

About 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 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.

Description quoted from the CVE record at cve.org.

Published2017-05-12

Status in GetPageSpeed packages

ProductStatusFixed inDetails
PHP 7.0Fixed7.0.33-61Backported as php-cve-2017-8923.patch. Everpatch PHP
PHP 7.1Fixed7.1.33-54Backported as php-cve-2017-8923.patch. Everpatch PHP
PHP 7.2Fixed7.2.34-49Backported as php-cve-2017-8923.patch. Everpatch PHP
PHP 7.3Fixed7.3.33-41Backported as php-cve-2017-8923.patch. Everpatch PHP

Check a server for CVE-2017-8923

Everpatch PHP on Enterprise Linux: PHP 7.0 7.0.33-61 or later, PHP 7.1 7.1.33-54 or later, PHP 7.2 7.2.34-49 or later, PHP 7.3 7.3.33-41 or later. The package changelog names every CVE a build fixes.

rpm -q php-common
rpm -q --changelog php-common | grep -F CVE-2017-8923

After a PHP update, restart PHP-FPM (and Apache httpd if it runs mod_php): the old processes keep the vulnerable code until then.

Fixed in the same build

Scanner feeds (OVAL, CSAF, OpenVEX), fix-time targets and answers to common questions: the CVE tracker.