CVE-2017-9120: Integer Overflow

Published May 9, 2017
·
Updated

Last updated 24 July 2024

Other sources

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 mysqlirealescapestring.

PHP is vulnerable to an integer overflow in the mysqliapi.c:mysqlirealescapestring() function. An attacker could exploit this by performing a crafted query to cause a crash.

Upstream Bug:

https://bugs.php.net/bug.php?id=74544

Red Hat

Affected Software

9 affected componentsFixes available
redhat/rh-php71-php<0:7.1.30-1.el7
0:7.1.30-1.el7
debian/php5
debian/php7.0
debian/php7.1
PHP PHP>=7.0.0<=7.1.5
PHP PHP>=7.4.0<7.4.23
PHP PHP>=8.0.0<8.0.10
NetApp Storage Automation Store
Microsoft cbl2 php 7.4.14-3

Remediation

Event History

May 9, 2017
CVE Published
12:00 AM
Aug 2, 2018
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Aug 3, 2018
Data Sourced
via Red Hat·02:34 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:42 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:51 AM
RemedyDescriptionSeverityAffected Software
Oct 1, 2025
Data Sourced
via Microsoft·11:11 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:11 PM
Affected Software
Updated
via Microsoft·11:11 PM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2017-9120?

CVE-2017-9120 is a vulnerability in PHP 7.x through 7.1.5 that allows remote attackers to cause a denial of service or possibly have unspecified other impact via a long string.

2

What is the severity of CVE-2017-9120?

The severity of CVE-2017-9120 is critical with a severity score of 9.8.

3

Which software versions are affected by CVE-2017-9120?

PHP versions 7.x through 7.1.5 are affected by CVE-2017-9120.

4

How can I fix CVE-2017-9120?

To fix CVE-2017-9120, update PHP to a version higher than 7.1.5.

5

Where can I find more information about CVE-2017-9120?

You can find more information about CVE-2017-9120 at the following references: [link1](https://bugs.php.net/bug.php?id=74544), [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1614880), [link3](https://bugs.php.net/patch-display.php?bug_id=74544&patch=bug74544.diff&revision=1500891082&download=1)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203