CVEfocus › CVE database › CVE-2017-9118

CVE-2017-9118

CVSS 7.5 HighEPSS 3.0% (higher than 87% of CVEs)Published 2018-08-02Updated 2024-08-05Assigner: mitre

PHP 7.1.5 has an Out of bounds access in php_pcre_replace_impl via a crafted preg_replace call.

What to do

Fixed builds are available from 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

3Fixed
27Fix pending
67Will not fix
1Not 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.1Fixed8.1.2-1ubuntu1UBUNTU-CVE-2017-9118
Ubuntu 20.04php7.4Fixed7.4.3-4ubuntu2.10UBUNTU-CVE-2017-9118
Ubuntu 18.04php7.2Fixed7.2.24-0ubuntu0.18.04.11UBUNTU-CVE-2017-9118
Ubuntu 16.04php7.0Fix pending7.0.33-0ubuntu0.16.04.16+esm3 (Ubuntu Pro)UBUNTU-CVE-2017-9118
Ubuntu 14.04php5Fix pendingUBUNTU-CVE-2017-9118
Red Hat Enterprise Linux 8apcu-panelWill not fix
Will not fix
Red Hat Enterprise Linux 8libzipWill not fix
Will not fix
Red Hat Enterprise Linux 8libzip-develWill not fix
Will not fix
Red Hat Enterprise Linux 8libzip-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 8phpWill not fix
Will not fix
Red Hat Enterprise Linux 8php-bcmathWill not fix
Will not fix
Red Hat Enterprise Linux 8php-cliWill not fix
Will not fix
Red Hat Enterprise Linux 8php-commonWill not fix
Will not fix
Red Hat Enterprise Linux 8php-dbaWill not fix
Will not fix
Red Hat Enterprise Linux 8php-dbgWill not fix
Will not fix
Red Hat Enterprise Linux 8php-develWill not fix
Will not fix
Red Hat Enterprise Linux 8php-embeddedWill not fix
Will not fix
Red Hat Enterprise Linux 8php-enchantWill not fix
Will not fix
Red Hat Enterprise Linux 8php-ffiWill not fix
Will not fix
Red Hat Enterprise Linux 8php-fpmWill not fix
Will not fix
Red Hat Enterprise Linux 8php-gdWill not fix
Will not fix
Red Hat Enterprise Linux 8php-gmpWill not fix
Will not fix
Red Hat Enterprise Linux 8php-intlWill not fix
Will not fix
Red Hat Enterprise Linux 8php-jsonWill not fix
Will not fix
Red Hat Enterprise Linux 8php-ldapWill not fix
Will not fix
Red Hat Enterprise Linux 8php-mbstringWill not fix
Will not fix
Red Hat Enterprise Linux 8php-mysqlndWill not fix
Will not fix
Red Hat Enterprise Linux 8php-odbcWill not fix
Will not fix
Red Hat Enterprise Linux 8php-opcacheWill not fix
Will not fix
Red Hat Enterprise Linux 8php-pdoWill not fix
Will not fix
Red Hat Enterprise Linux 8php-pearWill not fix
Will not fix
Red Hat Enterprise Linux 8php-pecl-apcuWill not fix
Will not fix
Red Hat Enterprise Linux 8php-pecl-apcu-develWill not fix
Will not fix
Red Hat Enterprise Linux 8php-pecl-rrdWill not fix
Will not fix
Red Hat Enterprise Linux 8php-pecl-xdebugWill not fix
Will not fix
Red Hat Enterprise Linux 8php-pecl-xdebug3Will not fix
Will not fix
Red Hat Enterprise Linux 8php-pecl-zipWill not fix
Will not fix
Red Hat Enterprise Linux 8php-pgsqlWill not fix
Will not fix
Red Hat Enterprise Linux 8php-processWill not fix
Will not fix
Red Hat Enterprise Linux 8php-recodeWill not fix
Will not fix
Red Hat Enterprise Linux 8php-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 8php-soapWill not fix
Will not fix
Red Hat Enterprise Linux 8php-xmlWill not fix
Will not fix
Red Hat Enterprise Linux 8php-xmlrpcWill not fix
Will not fix
Red Hat Enterprise Linux 7phpFix pending
Affected
Red Hat Enterprise Linux 7php-bcmathFix pending
Affected
Red Hat Enterprise Linux 7php-cliFix pending
Affected
Red Hat Enterprise Linux 7php-commonFix pending
Affected
Red Hat Enterprise Linux 7php-dbaFix pending
Affected
Red Hat Enterprise Linux 7php-develFix pending
Affected
Red Hat Enterprise Linux 7php-embeddedFix pending
Affected
Red Hat Enterprise Linux 7php-enchantFix pending
Affected
Red Hat Enterprise Linux 7php-fpmFix pending
Affected
Red Hat Enterprise Linux 7php-gdFix pending
Affected
Red Hat Enterprise Linux 7php-intlFix pending
Affected
Red Hat Enterprise Linux 7php-ldapFix pending
Affected
Red Hat Enterprise Linux 7php-mbstringFix pending
Affected
Red Hat Enterprise Linux 7php-mysqlFix pending
Affected
Red Hat Enterprise Linux 7php-mysqlndFix pending
Affected
Red Hat Enterprise Linux 7php-odbcFix pending
Affected
Red Hat Enterprise Linux 7php-pdoFix pending
Affected
Red Hat Enterprise Linux 7php-pgsqlFix pending
Affected
Red Hat Enterprise Linux 7php-processFix pending
Affected
Red Hat Enterprise Linux 7php-pspellFix pending
Affected
Red Hat Enterprise Linux 7php-recodeFix pending
Affected
Red Hat Enterprise Linux 7php-snmpFix pending
Affected
Red Hat Enterprise Linux 7php-soapFix pending
Affected
Red Hat Enterprise Linux 7php-xmlFix pending
Affected
Red Hat Enterprise Linux 7php-xmlrpcFix pending
Affected
Red Hat Enterprise Linux 6phpWill not fix
Will not fix
Red Hat Enterprise Linux 6php-bcmathWill not fix
Will not fix
Red Hat Enterprise Linux 6php-cliWill not fix
Will not fix
Red Hat Enterprise Linux 6php-commonWill not fix
Will not fix
Red Hat Enterprise Linux 6php-dbaWill not fix
Will not fix
Red Hat Enterprise Linux 6php-develWill not fix
Will not fix
Red Hat Enterprise Linux 6php-embeddedWill not fix
Will not fix
Red Hat Enterprise Linux 6php-enchantWill not fix
Will not fix
Red Hat Enterprise Linux 6php-fpmWill not fix
Will not fix
Red Hat Enterprise Linux 6php-gdWill not fix
Will not fix
Red Hat Enterprise Linux 6php-imapWill not fix
Will not fix
Red Hat Enterprise Linux 6php-intlWill not fix
Will not fix
Red Hat Enterprise Linux 6php-ldapWill not fix
Will not fix
Red Hat Enterprise Linux 6php-mbstringWill not fix
Will not fix
Red Hat Enterprise Linux 6php-mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 6php-odbcWill not fix
Will not fix
Red Hat Enterprise Linux 6php-pdoWill not fix
Will not fix
Red Hat Enterprise Linux 6php-pgsqlWill not fix
Will not fix
Red Hat Enterprise Linux 6php-processWill not fix
Will not fix
Red Hat Enterprise Linux 6php-pspellWill not fix
Will not fix
Red Hat Enterprise Linux 6php-recodeWill not fix
Will not fix
Red Hat Enterprise Linux 6php-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 6php-soapWill not fix
Will not fix
Red Hat Enterprise Linux 6php-tidyWill not fix
Will not fix
Red Hat Enterprise Linux 6php-xmlWill not fix
Will not fix
Red Hat Enterprise Linux 6php-xmlrpcWill not fix
Will not fix
Red Hat Enterprise Linux 6php-ztsWill not fix
Will not fix
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Will not fix
Will not fix

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

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.