An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function gb18030_mbc_enc_len in file gb18030.c, a UChar pointer is dereferenced without checking if it passed the end of the matched string. This leads to a heap-based buffer over-read.
The product reads data past the end, or before the beginning, of the intended buffer.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Oniguruma | Oniguruma_project | 6.0.0 (including) | 6.9.4 (excluding) |
Oniguruma | Oniguruma_project | 6.9.4-rc1 (including) | 6.9.4-rc1 (including) |
Red Hat Enterprise Linux 8 | RedHat | php:7.3-8020020200715124551.ceb1cf90 | * |
Red Hat Enterprise Linux 8 | RedHat | oniguruma-0:6.8.2-2.1.el8_9 | * |
Red Hat Enterprise Linux 8.6 Extended Update Support | RedHat | oniguruma-0:6.8.2-2.1.el8_6 | * |
Red Hat Enterprise Linux 8.8 Extended Update Support | RedHat | oniguruma-0:6.8.2-2.1.el8_8 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-php73-php-0:7.3.20-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-php73-php-0:7.3.20-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-php73-php-0:7.3.20-1.el7 | * |
Libonig | Ubuntu | bionic | * |
Libonig | Ubuntu | disco | * |
Libonig | Ubuntu | eoan | * |
Libonig | Ubuntu | esm-apps/bionic | * |
Libonig | Ubuntu | esm-apps/xenial | * |
Libonig | Ubuntu | trusty | * |
Libonig | Ubuntu | trusty/esm | * |
Libonig | Ubuntu | upstream | * |
Libonig | Ubuntu | xenial | * |