CVEfocus › CVE database › CVE-2017-8923

CVE-2017-8923

EPSS 7.2% (higher than 94% of CVEs)Published 2017-05-12Updated 2024-12-27Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

83Fixed
3Fix pending
55Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04php8.1Not affected
vulnerable_code_not_present
Ubuntu 20.04php7.4Fixed7.4.3-4ubuntu2.10UBUNTU-CVE-2017-8923
Ubuntu 18.04php7.2Fixed7.2.24-0ubuntu0.18.04.11UBUNTU-CVE-2017-8923
Ubuntu 16.04php7.0Fix pending7.0.33-0ubuntu0.16.04.16+esm3 (Ubuntu Pro)UBUNTU-CVE-2017-8923
Red Hat Enterprise Linux 8apcu-panelFixed
Affected
0:5.1.18-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hat Enterprise Linux 8libzipFixed
Affected
0:1.6.1-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hat Enterprise Linux 8libzip-develFixed
Affected
0:1.6.1-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hat Enterprise Linux 8libzip-toolsFixed
Affected
0:1.6.1-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hat Enterprise Linux 8phpFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-bcmathFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-cliFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-commonFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-dbaFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-dbgFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-develFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-embeddedFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-enchantFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-ffiFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-fpmFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-gdFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-gmpFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-intlFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-jsonFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-ldapFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-mbstringFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-mysqlndFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-odbcFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-opcacheFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-pdoFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-pearFixed
Affected
1:1.10.13-1.module+el8.7.0+15127+a450a8dbRHSA-2023:2903
Red Hat Enterprise Linux 8php-pecl-apcuFixed
Affected
0:5.1.18-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hat Enterprise Linux 8php-pecl-apcu-develFixed
Affected
0:5.1.18-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hat Enterprise Linux 8php-pecl-rrdFixed
Affected
0:2.0.1-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hat Enterprise Linux 8php-pecl-xdebugFixed
Affected
0:2.9.5-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hat Enterprise Linux 8php-pecl-xdebug3Fix pending
Affected
Red Hat Enterprise Linux 8php-pecl-zipFixed
Affected
0:1.18.2-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hat Enterprise Linux 8php-pgsqlFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-processFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-recodeFix pending
Affected
Red Hat Enterprise Linux 8php-snmpFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-soapFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-xmlFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 8php-xmlrpcFixed
Affected
0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 7php-bcmathNot affected
Red Hat Enterprise Linux 7php-cliNot affected
Red Hat Enterprise Linux 7php-commonNot affected
Red Hat Enterprise Linux 7php-dbaNot affected
Red Hat Enterprise Linux 7php-develNot affected
Red Hat Enterprise Linux 7php-embeddedNot affected
Red Hat Enterprise Linux 7php-enchantNot affected
Red Hat Enterprise Linux 7php-fpmNot affected
Red Hat Enterprise Linux 7php-gdNot affected
Red Hat Enterprise Linux 7php-intlNot affected
Red Hat Enterprise Linux 7php-ldapNot affected
Red Hat Enterprise Linux 7php-mbstringNot affected
Red Hat Enterprise Linux 7php-mysqlNot affected
Red Hat Enterprise Linux 7php-mysqlndNot affected
Red Hat Enterprise Linux 7php-odbcNot affected
Red Hat Enterprise Linux 7php-pdoNot affected
Red Hat Enterprise Linux 7php-pgsqlNot affected
Red Hat Enterprise Linux 7php-processNot affected
Red Hat Enterprise Linux 7php-pspellNot affected
Red Hat Enterprise Linux 7php-recodeNot affected
Red Hat Enterprise Linux 7php-snmpNot affected
Red Hat Enterprise Linux 7php-soapNot affected
Red Hat Enterprise Linux 7php-xmlNot affected
Red Hat Enterprise Linux 7php-xmlrpcNot affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 6php-bcmathNot affected
Red Hat Enterprise Linux 6php-cliNot affected
Red Hat Enterprise Linux 6php-commonNot affected
Red Hat Enterprise Linux 6php-dbaNot affected
Red Hat Enterprise Linux 6php-develNot affected
Red Hat Enterprise Linux 6php-embeddedNot affected
Red Hat Enterprise Linux 6php-enchantNot affected
Red Hat Enterprise Linux 6php-fpmNot affected
Red Hat Enterprise Linux 6php-gdNot affected
Red Hat Enterprise Linux 6php-imapNot affected
Red Hat Enterprise Linux 6php-intlNot affected
Red Hat Enterprise Linux 6php-ldapNot affected
Red Hat Enterprise Linux 6php-mbstringNot affected
Red Hat Enterprise Linux 6php-mysqlNot affected
Red Hat Enterprise Linux 6php-odbcNot affected
Red Hat Enterprise Linux 6php-pdoNot affected
Red Hat Enterprise Linux 6php-pgsqlNot affected
Red Hat Enterprise Linux 6php-processNot affected
Red Hat Enterprise Linux 6php-pspellNot affected
Red Hat Enterprise Linux 6php-recodeNot affected
Red Hat Enterprise Linux 6php-snmpNot affected
Red Hat Enterprise Linux 6php-soapNot affected
Red Hat Enterprise Linux 6php-tidyNot affected
Red Hat Enterprise Linux 6php-xmlNot affected
Red Hat Enterprise Linux 6php-xmlrpcNot affected
Red Hat Enterprise Linux 6php-ztsNot affected
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Not affected
AlmaLinux 8apcu-panelFixed5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2023:2903
AlmaLinux 8libzipFixed1.6.1-1.module_el8.6.0+3239+bedf0508ALSA-2023:2903
AlmaLinux 8libzip-develFixed1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2023:2903
AlmaLinux 8libzip-toolsFixed1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2023:2903
AlmaLinux 8phpFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-bcmathFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-cliFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-commonFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-dbaFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-dbgFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-develFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-embeddedFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-enchantFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-ffiFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-fpmFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-gdFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-gmpFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-intlFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-jsonFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-ldapFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-mbstringFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-mysqlndFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-odbcFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-opcacheFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-pdoFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-pearFixed1:1.10.13-1.module_el8.6.0+3268+b150a051ALSA-2023:2903
AlmaLinux 8php-pecl-apcuFixed5.1.18-1.module_el8.6.0+3239+bedf0508ALSA-2023:2903
AlmaLinux 8php-pecl-apcu-develFixed5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2023:2903
AlmaLinux 8php-pecl-rrdFixed2.0.1-1.module_el8.6.0+2750+78feabcbALSA-2023:2903
AlmaLinux 8php-pecl-xdebugFixed2.9.5-1.module_el8.6.0+2750+78feabcbALSA-2023:2903
AlmaLinux 8php-pecl-zipFixed1.18.2-1.module_el8.6.0+3239+bedf0508ALSA-2023:2903
AlmaLinux 8php-pgsqlFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-processFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-snmpFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-soapFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-xmlFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux 8php-xmlrpcFixed7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
Rocky Linux 8libzipFixed0:1.6.1-1.module+el8.10.0+1912+72767185RLSA-2023:2903
Rocky Linux 8phpFixed0:7.4.33-1.module+el8.10.0+1604+6558efc7RLSA-2023:2903
Rocky Linux 8php-pearFixed1:1.10.13-1.module+el8.10.0+1605+02e07af7RLSA-2023:2903
Rocky Linux 8php-pecl-apcuFixed0:5.1.18-1.module+el8.10.0+1604+6558efc7RLSA-2023:2903
Rocky Linux 8php-pecl-rrdFixed0:2.0.1-1.module+el8.10.0+1912+72767185RLSA-2023:2903
Rocky Linux 8php-pecl-xdebugFixed0:2.9.5-1.module+el8.10.0+1604+6558efc7RLSA-2023:2903
Rocky Linux 8php-pecl-zipFixed0:1.18.2-1.module+el8.10.0+1604+6558efc7RLSA-2023:2903

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.