Skip to main content
No exploitation reportedFix available

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?

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
  1. 2018-08-0215:29CVE publishedNVD

Versions per branch

NVD
PHP
BranchAffectedFixed in
8.0≥ 8.0.0, < 8.0.108.0.10
7.4≥ 7.4.0, < 7.4.237.4.23
7.x≥ 7.0.0, ≤ 7.1.5no fix published
Netapp storage automation store
BranchAffectedFixed in
—all versionsno fix published

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

  • CVE-2017-9120 Red Hat Product Security425 products fixed · 62 known affected

    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

  • ICSA-24-102-04 CISA1 known affected

    Siemens RUGGEDCOM APE1808

    RUGGEDCOM APE1808

  • SSA-455250 Siemens ProductCERT1 known affected

    SSA-455250: Multiple Vulnerabilities in Palo Alto Networks Virtual NGFW on RUGGEDCOM APE1808 Devices Before V11.1.2-h3

    RUGGEDCOM APE1808

  • RHSA-2019:2519 Red Hat Product Security425 products fixed

    Red Hat Security Advisory: rh-php71-php security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Update PHP to 8.0.10 · 7.4.23
  2. 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
  3. 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
  4. 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.
  5. No fix available, says the vendor Red Hat Product Security CVE-2017-9120 · 62 productsAffected

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2017-9120 actively exploited?

Active exploitation of CVE-2017-9120 has not been confirmed. Its EPSS score was 7.6% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2017-9120?

CVE-2017-9120 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record