Skip to content
Fencer Vulns
critical 9.8

CVE-2017-9120 in the critical feed json

PHP 7.x through 7.1.5 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspeci…

published 2018-08-02 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-18058

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
7.6%
EPSS 7.6% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

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.

Patch / fix

  • php php 7.4.23, 8.0.10
  • php7.2 Ubuntu 18.04 LTS 7.2.24-0ubuntu0.18.04.11
  • php7.4 Ubuntu 20.04 LTS 7.4.3-4ubuntu2.10
  • php7.0 Ubuntu Pro 16.04 LTS 7.0.33-0ubuntu0.16.04.16+esm3

ubuntu advisories UBUNTU-CVE-2017-9120

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-php71-php RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-gd RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-cli RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-dba RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-dbg RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-fpm RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-gmp RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-pdo RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7

red hat advisories RHSA-2019:2519

  • php7 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +8 more 7.2.34-150000.4.103.1
  • php7 SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 7.0.7-50.44.1
  • php7 SLE Module for Web and Scripting 15 7.2.5-4.6.1

suse advisories SUSE-SU-2022:4067-1SUSE-SU-2018:2333-1SUSE-SU-2018:2337-1

  • php7 openSUSE Tumbleweed 7.4.24-1.1
  • php8 openSUSE Tumbleweed 8.0.11-1.1

opensuse advisories openSUSE-SU-2024:11167-1openSUSE-SU-2024:11169-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-9120 updated cvss 5.3

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

  • Red Hat Software Collections rh-php70-php, rh-php72-php, rh-php70-php-gd, rh-php72-php-gd, rh-php70-php-cli, rh-php70-php-dba, +52 more
    affected: no fix available
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more
    fixed: vendor fix RHSA-2019:2519
  • Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Enterprise Linux 8 php, libzip, php-gd, php-cli, php-dba, php-dbg, +30 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-24-102-04 updated cvss 9.8

Siemens RUGGEDCOM APE1808

  • Siemens RUGGEDCOM APE1808
    affected: vendor fix

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

7.56% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • bugs.php.net https://bugs.php.net/bug.php?id=74544 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.