onigmo: out-of-bounds read in next_state_val() in regparse.c
Published Sep 9, 2019
7.5
HIGHCVSS 3.1
EPSS 1.80%
Description
Onigmo through 6.2.0 has an out-of-bounds read in parse_char_class because of missing codepoint validation in regenc.c.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
oniguruma
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Enterprise Linux 7
ruby
Will not fix
Red Hat Enterprise Linux 8
oniguruma
Not affected
Red Hat Enterprise Linux 8
php:7.2/php
Not affected
Red Hat Enterprise Linux 8
php:7.3/php
Not affected
Red Hat Enterprise Linux 8
ruby:2.5/ruby
Not affected
Red Hat Enterprise Linux 8
ruby:2.6/ruby
Will not fix
Red Hat OpenShift Container Platform 4
oniguruma
Not affected
Red Hat Software Collections
rh-php72-php
Not affected
Red Hat Software Collections
rh-php73-php
Not affected
Red Hat Software Collections
rh-ruby24-ruby
Will not fix
Red Hat Software Collections
rh-ruby25-ruby
Will not fix
Red Hat Software Collections
rh-ruby26-ruby
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | oniguruma | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | oniguruma | Not affected | n/a |
| Red Hat Enterprise Linux 8 | php:7.2/php | Not affected | n/a |
| Red Hat Enterprise Linux 8 | php:7.3/php | Not affected | n/a |
| Red Hat Enterprise Linux 8 | ruby:2.5/ruby | Not affected | n/a |
| Red Hat Enterprise Linux 8 | ruby:2.6/ruby | Will not fix | n/a |
| Red Hat OpenShift Container Platform 4 | oniguruma | Not affected | n/a |
| Red Hat Software Collections | rh-php72-php | Not affected | n/a |
| Red Hat Software Collections | rh-php73-php | Not affected | n/a |
| Red Hat Software Collections | rh-ruby24-ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby25-ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby26-ruby | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This flaw does not affect the versions of oniguruma as shipped with Red Hat Enterprise Linux 6, and 8 as they already include the patch. The same is true for the versions of oniguruma (embedded in php:7.2/php and php:7.3/php) as shipped with Red Hat Enterprise Linux 8, and the versions of oniguruma (embedded in rh-php72-php and rh-php73-php) as shipped with Red Hat Software Collections 3. This flaw did not affect the versions of oniguruma (embedded in php) as shipped with Red Hat Enterprise Linux 6, and 7 as they did not include the vulnerable code.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.80% (0.01798) | 77.71th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.80% (0.01798) | 75.54th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.11% (0.00115) | 45.59th | v3 (v2023.03.01) |
| Jul 3, 2024 | 0.11% (0.00115) | 45.47th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.11% (0.00115) | 43.46th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.50% (0.04499) | 74.08th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.84% (0.01840) | 47.83th | v5 (v2026.06.15) |
| Jan 6, 2022 | 1.84% (0.01840) | 47.32th | v1 |
| Sep 1, 2021 | 0.42% (0.00416) | 25.53th | v1 |
| Apr 14, 2021 | 0.42% (0.00416) | 0.00th | v1 |
References (5)
- https://access.redhat.com/security/cve/CVE-2019-16162 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1781304 Issue Tracking
- https://github.com/k-takata/Onigmo/issues/139 x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-16162
- https://www.cve.org/CVERecord?id=CVE-2019-16162
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2019-16162 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1781304 | Issue Tracking | |
| https://github.com/k-takata/Onigmo/issues/139 | x_refsource_MISCExploitThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-16162 | ||
| https://www.cve.org/CVERecord?id=CVE-2019-16162 |
Change history (0)
No recorded changes yet.