CVE-2017-9228
publishedoniguruma: Out-of-bounds heap write in bitset_set_range()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2311 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2375 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | v3.4 | php5 | Fixed | 5.6.31-r0 | Package fix record |
| Debian | wheezy | libonig | Advisory build | 5.9.1-1+deb7u1 | DLA-958-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-phpsrc | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| SUSE / openSUSE | SLE-11-SP4 | php53-develi586 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.5 | php5 | Fixed | 5.6.31-r0 | Package fix record |
| Alpine Linux | v3.5 | php7 | Fixed | 7.0.21-r0 | Package fix record |
| Alpine Linux | v3.6 | php5 | Fixed | 5.6.31-r0 | Package fix record |
| Alpine Linux | v3.6 | php7 | Fixed | 7.1.9-r0 | Package fix record |
| Alpine Linux | v3.7 | php5 | Fixed | 5.6.31-r0 | Package fix record |
| Alpine Linux | v3.7 | php7 | Fixed | 7.1.7-r0 | Package fix record |
| Alpine Linux | v3.8 | php5 | Fixed | 5.6.31-r0 | Package fix record |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-phpx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-bcmathx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-clix86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-commonx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-dbax86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-dbgx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-debuginfox86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-develx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-embeddedx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-enchantx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-fpmx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-gdx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-gmpx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-imapx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-intlx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-jsonx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-ldapx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-mbstringx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-mysqlndx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-odbcx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-opcachex86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-pdox86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-pgsqlx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-processx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-pspellx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-recodex86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-snmpx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-soapx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-tidyx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-xmlx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-xmlrpcx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-zipx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-phpsrc | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-phpx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-bcmathx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-clix86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-commonx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-dbax86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-dbgx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-debuginfox86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-develx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-embeddedx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-enchantx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-fpmx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-gdx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-gmpx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-intlx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-jsonx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-ldapx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-mbstringx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-mysqlndx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-odbcx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-opcachex86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-pdox86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-pgsqlx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-processx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-pspellx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-recodex86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-snmpx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-soapx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-xmlx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-xmlrpcx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-zipx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| SUSE / openSUSE | SLE-11-SP4 | php53-develia64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-develppc64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-devels390x | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-develx86_64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imapi586 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imapia64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imapppc64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imaps390x | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imapx86_64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixi586 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixia64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixppc64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixs390x | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixx86_64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlinei586 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlineia64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlineppc64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlines390x | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlinex86_64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketsi586 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketsia64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketsppc64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketss390x | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketsx86_64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-sqlitei586 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-sqliteia64 | Advisory build | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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 heap out-of-bounds write occurs in bitset_set_range() during regular expression compilation due to an uninitialized variable from an incorrect state transition. An incorrect state transition in parse_char_class() could create an execution path that leaves a critical local variable uninitialized until it's used as an index, resulting in an out-of-bounds write memory corruption.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3- RHSA-2018:1296 https://access.redhat.com/errata/RHSA-2018:1296
- https://github.com/kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b
- https://github.com/kkos/oniguruma/issues/60
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0a5dc9f8b63e7f06305cc397cb33c9a8c18ced14db73409da2dc0d983701a271
- Ingested
- 23 Sep 2026, 07:43:06 UTC
- Source record
- Official CVE record