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 unspe…

CVE-2017-9120 affects 19 listed versions of PHP in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
8%EPSS (next 30 days)
2 August 2018published

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

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

7.4.22 7.4.21 7.4.20 7.4.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 7.0.23 7.0.22 7.0.21 7.0.20 7.0.19

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 2 August 2018. Last changed 17 June 2026.

Sources

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

Updated 1 December 2026.