CVE-2017-8923 Integer overflow in n/a

Critical 9.8 Published Updated

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 SP3All versions7.4.6-3.32.1
php74 SUSE:Linux Enterprise Module for Web and Scripting 12All versions7.4.6-1.33.1
php7 SUSE:Linux Enterprise Module for Web and Scripting 15 SP3All versions7.4.6-3.32.1
php74 SUSE:Linux Enterprise Software Development Kit 12 SP5All versions7.4.6-1.33.1
php7 openSUSE:Leap 15.3All versions7.4.6-3.32.1
php7-test openSUSE:Leap 15.3All versions7.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.

All Php Php vulnerabilities

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.

Is CVE-2017-8923 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free