Vulnerabilities / CVE-2017-9120

critical

CVE-2017-9120

php: Integer overflow in mysqli_api.c:mysqli_real_escape_string()

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
ubuntu 16.04-ESMphp7.07.0.33-0ubuntu0.16.04.16+esm3
ubuntu 18.04php7.27.2.24-0ubuntu0.18.04.11
ubuntu 18.04-ESMphp7.27.2.24-0ubuntu0.18.04.11
ubuntu 20.04php7.47.4.3-4ubuntu2.10
ubuntu 20.04-ESMphp7.47.4.3-4ubuntu2.10
ubuntu 21.10php8.08.0.8-1ubuntu0.3

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.