CVE-2017-9227
Fixed in a distro release EPSS 6%
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A stack out-of-bounds read occurs in mbc_enc_len() during regular expression searching. Invalid handling of reg->dmin in forward_search_range() could result in an invalid pointer dereference, as an out-of-bounds read from a stack buffer.
Products: oniguruma_project oniguruma, php
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.4 | php5 | 5.6.31-r0 |
| Alpine 3.5 | php5 | 5.6.31-r0 |
| Amazon Linux 2 | oniguruma | 5.9.6-1.amzn2.0.7 |
| Amazon Linux 2 | oniguruma-devel | 5.9.6-1.amzn2.0.7 |
| Amazon Linux 2 | php | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-bcmath | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-cli | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-common | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-dba | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-devel | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-embedded | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-enchant | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-fpm | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-gd | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-intl | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-ldap | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-mbstring | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-mysqlnd | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-odbc | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-pdo | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-pgsql | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-process | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-pspell | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-recode | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-snmp | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-soap | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-xml | 5.4.16-46.amzn2.0.5 |
| Amazon Linux 2 | php-xmlrpc | 5.4.16-46.amzn2.0.5 |
| Debian 12 | libonig | 6.1.3-2 |
| Debian 13 | libonig | 6.1.3-2 |
| Debian 14 | libonig | 6.1.3-2 |
| Debian 7 | libonig | 5.9.1-1+deb7u1 |
| Red Hat rhel software collections 3 | rh-php70-php | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-bcmath | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-bcmath | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-cli | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-cli | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-common | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-common | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-dba | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-dba | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-dbg | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-dbg | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-debuginfo | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-debuginfo | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-devel | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-devel | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-embedded | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-embedded | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-enchant | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-enchant | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-fpm | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-fpm | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-gd | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-gd | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-gmp | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-gmp | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-imap | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-intl | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-intl | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-json | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-json | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-ldap | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-ldap | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-mbstring | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-mbstring | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-mysqlnd | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-mysqlnd | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-odbc | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-odbc | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-opcache | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-opcache | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-pdo | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-pdo | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-pgsql | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-pgsql | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-process | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-process | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-pspell | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-pspell | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-recode | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-recode | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-snmp | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-snmp | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-soap | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-soap | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-tidy | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-xml | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-xml | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-xmlrpc | 0:7.0.27-1.el6 |
| Red Hat rhel software collections 3 | rh-php70-php-xmlrpc | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-zip | 0:7.0.27-1.el7 |
| Red Hat rhel software collections 3 | rh-php70-php-zip | 0:7.0.27-1.el6 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | php5 | 5.5.14-108.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | php7 | 7.0.7-49.1 |
| SUSE Linux Enterprise Server 11 SP4 | php53 | 5.3.17-108.1 |
| SUSE Linux Enterprise Server for SAP Applications 11 SP4 | php53 | 5.3.17-108.1 |
| SUSE Linux Enterprise Software Development Kit 11 SP4 | php53 | 5.3.17-108.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP2 | php5 | 5.5.14-108.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP2 | php7 | 7.0.7-49.1 |
| Ubuntu 14.04 LTS | libonig | 5.9.1-1ubuntu1.1 |
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.22 |
| Ubuntu 16.04 LTS | libonig | 5.9.6-1ubuntu0.1 |
| Ubuntu 16.04 LTS | php7.0 | 7.0.22-0ubuntu0.16.04.1 |