Vulnerabilities / CVE-2017-8923

critical

CVE-2017-8923

php: Overflowing the length of string causes crash

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Rocky Linux (medium), Ubuntu (low).

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 9php7.0no fix listed
Red Hatphp:7.3::apcu-panel, php:7.3::libzip, php:7.3::libzip-devel and 96 moreno fix listed
rocky 8php:7.4::apcu-panel, php:7.4::libzip, php:7.4::libzip-devel and 34 more5.1.18-1.module+el8.10.0+1604+6558efc7 and 6 more
ubuntu 16.04-ESMphp7.07.0.33-0ubuntu0.16.04.16+esm3
ubuntu 18.04php7.27.2.24-0ubuntu0.18.04.11
ubuntu 18.04-ESMphp7.27.2.24-0ubuntu0.18.04.11
ubuntu 20.04php7.47.4.3-4ubuntu2.10
ubuntu 20.04-ESMphp7.47.4.3-4ubuntu2.10
ubuntu 21.10php8.08.0.8-1ubuntu0.3
Show all 143 entries from 9 sources
SourcePackageFixed in
debian 9php7.0no fix listed
Red Hatphp:7.3::apcu-panelno fix listed
Red Hatphp:7.3::libzipno fix listed
Red Hatphp:7.3::libzip-develno fix listed
Red Hatphp:7.3::libzip-toolsno fix listed
Red Hatphp:7.3::phpno fix listed
Red Hatphp:7.3::php-bcmathno fix listed
Red Hatphp:7.3::php-clino fix listed
Red Hatphp:7.3::php-commonno fix listed
Red Hatphp:7.3::php-dbano fix listed
Red Hatphp:7.3::php-dbgno fix listed
Red Hatphp:7.3::php-develno fix listed
Red Hatphp:7.3::php-embeddedno fix listed
Red Hatphp:7.3::php-enchantno fix listed
Red Hatphp:7.3::php-ffino fix listed
Red Hatphp:7.3::php-fpmno fix listed
Red Hatphp:7.3::php-gdno fix listed
Red Hatphp:7.3::php-gmpno fix listed
Red Hatphp:7.3::php-intlno fix listed
Red Hatphp:7.3::php-jsonno fix listed
Red Hatphp:7.3::php-ldapno fix listed
Red Hatphp:7.3::php-mbstringno fix listed
Red Hatphp:7.3::php-mysqlndno fix listed
Red Hatphp:7.3::php-odbcno fix listed
Red Hatphp:7.3::php-opcacheno fix listed
Red Hatphp:7.3::php-pdono fix listed
Red Hatphp:7.3::php-pearno fix listed
Red Hatphp:7.3::php-pecl-apcuno fix listed
Red Hatphp:7.3::php-pecl-apcu-develno fix listed
Red Hatphp:7.3::php-pecl-rrdno fix listed
Red Hatphp:7.3::php-pecl-xdebugno fix listed
Red Hatphp:7.3::php-pecl-xdebug3no fix listed
Red Hatphp:7.3::php-pecl-zipno fix listed
Red Hatphp:7.3::php-pgsqlno fix listed
Red Hatphp:7.3::php-processno fix listed
Red Hatphp:7.3::php-recodeno fix listed
Red Hatphp:7.3::php-snmpno fix listed
Red Hatphp:7.3::php-soapno fix listed
Red Hatphp:7.3::php-xmlno fix listed
Red Hatphp:7.3::php-xmlrpcno fix listed
Red Hatrh-php70-phpno fix listed
Red Hatrh-php70-php-bcmathno fix listed
Red Hatrh-php70-php-clino fix listed
Red Hatrh-php70-php-commonno fix listed
Red Hatrh-php70-php-dbano fix listed
Red Hatrh-php70-php-dbgno fix listed
Red Hatrh-php70-php-develno fix listed
Red Hatrh-php70-php-embeddedno fix listed
Red Hatrh-php70-php-enchantno fix listed
Red Hatrh-php70-php-fpmno fix listed
Red Hatrh-php70-php-gdno fix listed
Red Hatrh-php70-php-gmpno fix listed
Red Hatrh-php70-php-imapno fix listed
Red Hatrh-php70-php-intlno fix listed
Red Hatrh-php70-php-jsonno fix listed
Red Hatrh-php70-php-ldapno fix listed
Red Hatrh-php70-php-mbstringno fix listed
Red Hatrh-php70-php-mysqlndno fix listed
Red Hatrh-php70-php-odbcno fix listed
Red Hatrh-php70-php-opcacheno fix listed
Red Hatrh-php70-php-pdono fix listed
Red Hatrh-php70-php-pgsqlno fix listed
Red Hatrh-php70-php-processno fix listed
Red Hatrh-php70-php-pspellno fix listed
Red Hatrh-php70-php-recodeno fix listed
Red Hatrh-php70-php-snmpno fix listed
Red Hatrh-php70-php-soapno fix listed
Red Hatrh-php70-php-tidyno fix listed
Red Hatrh-php70-php-xmlno fix listed
Red Hatrh-php70-php-xmlrpcno fix listed
Red Hatrh-php70-php-zipno fix listed
Red Hatrh-php73-phpno fix listed
Red Hatrh-php73-php-bcmathno fix listed
Red Hatrh-php73-php-clino fix listed
Red Hatrh-php73-php-commonno fix listed
Red Hatrh-php73-php-dbano fix listed
Red Hatrh-php73-php-dbgno fix listed
Red Hatrh-php73-php-develno fix listed
Red Hatrh-php73-php-embeddedno fix listed
Red Hatrh-php73-php-enchantno fix listed
Red Hatrh-php73-php-fpmno fix listed
Red Hatrh-php73-php-gdno fix listed
Red Hatrh-php73-php-gmpno fix listed
Red Hatrh-php73-php-intlno fix listed
Red Hatrh-php73-php-jsonno fix listed
Red Hatrh-php73-php-ldapno fix listed
Red Hatrh-php73-php-mbstringno fix listed
Red Hatrh-php73-php-mysqlndno fix listed
Red Hatrh-php73-php-odbcno fix listed
Red Hatrh-php73-php-opcacheno fix listed
Red Hatrh-php73-php-pdono fix listed
Red Hatrh-php73-php-pgsqlno fix listed
Red Hatrh-php73-php-processno fix listed
Red Hatrh-php73-php-pspellno fix listed
Red Hatrh-php73-php-recodeno fix listed
Red Hatrh-php73-php-snmpno fix listed
Red Hatrh-php73-php-soapno fix listed
Red Hatrh-php73-php-xmlno fix listed
Red Hatrh-php73-php-xmlrpcno fix listed
Red Hatrh-php73-php-zipno fix listed
rocky 8php:7.4::apcu-panel5.1.18-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::libzip1.6.1-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::libzip-devel1.6.1-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::libzip-tools1.6.1-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-bcmath7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-cli7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-common7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-dba7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-dbg7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-devel7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-embedded7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-enchant7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-ffi7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-fpm7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-gd7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-gmp7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-intl7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-json7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-ldap7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-mbstring7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-mysqlnd7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-odbc7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-opcache7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-pdo7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-pear1:1.10.13-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-pecl-apcu5.1.18-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-pecl-apcu-devel5.1.18-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-pecl-rrd2.0.1-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-pecl-xdebug2.9.5-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-pecl-zip1.18.2-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-pgsql7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-process7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-snmp7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-soap7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-xml7.4.33-1.module+el8.10.0+1604+6558efc7
rocky 8php:7.4::php-xmlrpc7.4.33-1.module+el8.10.0+1604+6558efc7
ubuntu 16.04-ESMphp7.07.0.33-0ubuntu0.16.04.16+esm3
ubuntu 18.04php7.27.2.24-0ubuntu0.18.04.11
ubuntu 18.04-ESMphp7.27.2.24-0ubuntu0.18.04.11
ubuntu 20.04php7.47.4.3-4ubuntu2.10
ubuntu 20.04-ESMphp7.47.4.3-4ubuntu2.10
ubuntu 21.10php8.08.0.8-1ubuntu0.3

References

All 24 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.