CVE-2017-8923 Integer overflow in n/a
Remote attackers can crash the PHP application by triggering a negative string length via integer overflow in zend_string_extend.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-8923?
CVE-2017-8923 is a critical vulnerability in Php Php, published on 12 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects that result in a negative length, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact by leveraging a script's use of .= with a long string.
Weakness: CWE-787
Which versions are affected by CVE-2017-8923?
It affects 1 product.
Linux distribution packages (6)
php7 SUSE:Linux Enterprise Module for Package Hub 15 SP3 | All versions | 7.4.6-3.32.1 |
php74 SUSE:Linux Enterprise Module for Web and Scripting 12 | All versions | 7.4.6-1.33.1 |
php7 SUSE:Linux Enterprise Module for Web and Scripting 15 SP3 | All versions | 7.4.6-3.32.1 |
php74 SUSE:Linux Enterprise Software Development Kit 12 SP5 | All versions | 7.4.6-1.33.1 |
php7 openSUSE:Leap 15.3 | All versions | 7.4.6-3.32.1 |
php7-test openSUSE:Leap 15.3 | All versions | 7.4.6-3.32.1 |
Products include Php Php.
How do I fix CVE-2017-8923?
Apply the vendor's patch.
Is CVE-2017-8923 being exploited?
There is no known exploitation of CVE-2017-8923 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as CLSA-2025-1749743304, CLSA-2025-1749743798, CLSA-2026-1772120065, GHSA-wrc8-jp87-rq8j, SUSE-SU-2022:0530-1, SUSE-SU-2022:0699-1 and 2 more.