CVE-2017-9120
No exploitation reported by the sources we read.
- Published2018-08-02
- Fixed in8.0.10 · 7.4.23
- WeaknessCWE-190
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2018-08-0215:29CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | ≥ 8.0.0, < 8.0.10 | 8.0.10 | NVD |
| 7.4 | ≥ 7.4.0, < 7.4.23 | 7.4.23 | NVD |
| 7.x | ≥ 7.0.0, ≤ 7.1.5 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- php7SUSE:Linux Enterprise Software Development Kit 12 SP3all versions · fixed in 7.0.7-50.44.1
- php7SUSE:Linux Enterprise Server for SAP Applications 15 SP1all versions · fixed in 7.2.34-150000.4.103.1
- php7SUSE:Linux Enterprise Server for SAP Applications 15all versions · fixed in 7.2.34-150000.4.103.1
- php7SUSE:Linux Enterprise Server 15-LTSSall versions · fixed in 7.2.34-150000.4.103.1
- php7SUSE:Linux Enterprise Server 15 SP1-LTSSall versions · fixed in 7.2.34-150000.4.103.1
- php7SUSE:Linux Enterprise Server 15 SP1-BCLall versions · fixed in 7.2.34-150000.4.103.1
- php7SUSE:Linux Enterprise Module for Web and Scripting 15all versions · fixed in 7.2.5-4.6.1
- php7SUSE:Linux Enterprise Module for Web and Scripting 12all versions · fixed in 7.0.7-50.44.1
13 more package ranges on OSV.dev
Vendor advisories
php: Integer overflow in mysqli_api.c:mysqli_real_escape_string()
rh-php70-php as a component of Red Hat Software Collections · rh-php70-php-bcmath as a component of Red Hat Software Collections · rh-php70-php-cli as a component of Red Hat Software Collections · +59 more
Siemens RUGGEDCOM APE1808
RUGGEDCOM APE1808
SSA-455250: Multiple Vulnerabilities in Palo Alto Networks Virtual NGFW on RUGGEDCOM APE1808 Devices Before V11.1.2-h3
RUGGEDCOM APE1808
Red Hat Security Advisory: rh-php71-php security, bug fix, and enhancement update
Fix
- Update PHP to 8.0.10 · 7.4.23
- Vendor fix Siemens ProductCERT SSA-455250 · 1 productUpgrade Palo Alto Networks Virtual NGFW V11.1.2-h3. Contact customer support to receive patch and update information
- Vendor fix CISA ICSA-24-102-04 · 1 productUpgrade Palo Alto Networks Virtual NGFW V11.1.2-h3. Contact customer support to receive patch and update information
- Vendor fix Red Hat Product Security RHSA-2019:2519 · 486 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon must be restarted for the update to take effect.
- No fix available, says the vendor Red Hat Product Security CVE-2017-9120 · 62 productsAffected
Advisories and patches
- bugs.php.netPatch · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.19.8read 2026-10-23
- NVDCVSS 2.07.5read 2026-10-23
- NVDweakness (CWE)CWE-190read 2026-10-23
- FIRST EPSSEPSS score7.6 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2017-18058same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-v55q-w9j5-69cvsame flawGitHub Advisory Database · CC-BY-4.0
- openSUSE-SU-2024:11167-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11169-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2019:2519advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2018:2333-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2337-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4067-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5300-1advisory covering several CVEsUbuntu
- USN-5300-2advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2018-08-02
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-v55q-w9j5-69cv
Frequently asked questions
What is CVE-2017-9120?
Is CVE-2017-9120 actively exploited?
What is the CVSS score for CVE-2017-9120?
Running PHP? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-v55q-w9j5-69cv
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)