CVE-2017-8923: Critical severity PHP PHP vulnerability

Published May 12, 2017
·
Updated

The zendstringextend function in Zend/zendstring.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.

Affected Software

10 affected componentsFixes available
PHP PHP<7.4.24
PHP PHP>=8.0.0<8.0.11
Microsoft cbl2 php 7.4.14-3
ubuntu/php7.0<7.0.33-0ubuntu0.16.04.16+esm3
7.0.33-0ubuntu0.16.04.16+esm3
ubuntu/php7.2<7.2.24-0ubuntu0.18.04.11
7.2.24-0ubuntu0.18.04.11
ubuntu/php7.4<7.4.3-4ubuntu2.10
7.4.3-4ubuntu2.10
debian/php7.0
debian/php7.1
redhat/php<7.4.24
7.4.24
redhat/php<8.0.11
8.0.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/php7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.33-0ubuntu0.16.04.16+esm3
  2. Upgrade

    Upgrade ubuntu/php7.2 to a version that resolves this vulnerability.

    Fixed in 7.2.24-0ubuntu0.18.04.11
  3. Upgrade

    Upgrade ubuntu/php7.4 to a version that resolves this vulnerability.

    Fixed in 7.4.3-4ubuntu2.10
  4. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.4.24
  5. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 8.0.11

Event History

May 12, 2017
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via OSV·08:29 PM
DescriptionSeverity
Data Sourced
via NVD·08:29 PM
DescriptionSeverityWeaknessAffected Software
May 17, 2017
Data Sourced
via Red Hat·10:25 AM
DescriptionSeverityAffected Software
Oct 1, 2025
Data Sourced
via Microsoft·11:11 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:11 PM
Affected Software
Nov 6, 2026
Data Sourced
via OSV·01:48 PM
Affected Software

Frequently Asked Questions

1

What is CVE-2017-8923?

CVE-2017-8923 is a vulnerability in PHP through 7.1.5 that allows remote attackers to cause a denial of service or possibly have unspecified other impact.

2

What is the severity of CVE-2017-8923?

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

3

Which versions of PHP are affected by CVE-2017-8923?

PHP versions up to 7.1.5 are affected by CVE-2017-8923.

4

How can I fix CVE-2017-8923?

To fix CVE-2017-8923, update PHP to version 7.2.24-0ubuntu0.18.04.11 or higher.

5

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

You can find more information about CVE-2017-8923 at the following references: https://bugs.php.net/bug.php?id=74577, http://www.securityfocus.com/bid/98518, https://launchpad.net/bugs/cve/CVE-2017-8923.

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