Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2017-9120

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

Overview

Published
2 Aug 2018
Modified
17 Jun 2026
Critical CVE
0 Registry packages
127 OS packages
3 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Weakness: CWE-190

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 7 fixes

Red Hat 1 release · 1 package

fixed 1
rh-php71-php
Red Hat fixes for CVE-2017-9120
ReleasePackageFixed inAdvisory
7 rh-php71-php +28 0:7.1.30-1.el7 RHSA-2019:2519

openSUSE 1 release · 2 packages

fixed 2
php7 php8
openSUSE fixes for CVE-2017-9120
ReleasePackageFixed inAdvisory
Tumbleweed php7 +48 7.4.24-1.1 openSUSE-SU-2024:11167-1
Tumbleweed php8 +46 8.0.11-1.1 openSUSE-SU-2024:11169-1

ubuntu 4 releases · 2 packages

fixed 4
php7-2 php7-4
ubuntu fixes for CVE-2017-9120
ReleasePackageFixed in
18.04 php7-2 7.2.24-0ubuntu0.18.04.11
18.04-ESM php7-2 7.2.24-0ubuntu0.18.04.11
20.04 php7-4 7.4.3-4ubuntu2.10
20.04-ESM php7-4 7.4.3-4ubuntu2.10

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.