Skip to main content

CVE tracker

CVE-2017-9120

Integer overflow in mysqli_real_escape_string

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

About CVE-2017-9120

PHP 7.x through 7.1.5 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a long string because of an Integer overflow in mysqli_real_escape_string.

Description quoted from the CVE record at cve.org.

Published2018-08-02

Status in GetPageSpeed packages

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

Check a server for CVE-2017-9120

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-9120

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.