Skip to main content

CVE tracker

CVE-2017-9119

Crash in i_zval_ptr_dtor after a memory limit error

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

About CVE-2017-9119

The i_zval_ptr_dtor function in Zend/zend_variables.h in PHP 7.1.5 allows attackers to cause a denial of service (memory consumption and application crash) or possibly have unspecified other impact by triggering crafted operations on array data structures.

Description quoted from the CVE record at cve.org.

Published2017-05-21

Status in GetPageSpeed packages

ProductStatusFixed inDetails
PHP 5.3Not affectedthe string-offset reallocation it affects is PHP 7 code Everpatch PHP
PHP 5.4Not affectedthe string-offset reallocation it affects is PHP 7 code Everpatch PHP
PHP 5.6Not affectedthe string-offset reallocation it affects is PHP 7 code Everpatch PHP
PHP 7.0Fixed7.0.33-61Backported as php-cve-2017-9119.patch. Everpatch PHP
PHP 7.1Fixed7.1.33-54Backported as php-cve-2017-9119.patch. Everpatch PHP
PHP 7.2Fixed7.2.34-49Backported as php-cve-2017-9119.patch. Everpatch PHP
PHP 7.3Fixedevery build (fixed upstream)Everpatch PHP

Check a server for CVE-2017-9119

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 every build. The package changelog names every CVE a build fixes.

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

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.