oniguruma: integer overflow in search_in_range function in regexec.c leads to out-of-bounds read
Published Nov 16, 2019
9.8
CRITICALCVSS 3.1
EPSS 10.54%
Description
An integer overflow in the search_in_range function in regexec.c in Oniguruma 6.x before 6.9.4_rc2 leads to an out-of-bounds read, in which the offset of this read is under the control of an attacker. (This only affects the 32-bit compiled version). Remote attackers can cause a denial-of-service or information disclosure, or possibly have unspecified other impact, via a crafted regular expression.
Affected products
No data.
Configuration 1
- ≥ 6.0.0 · ≤ 6.9.3
- 6.9.4
Configuration 2
- 8.0
- 30
- 31
- 8.0
No data.
Red Hat Enterprise Linux 8
oniguruma-0:6.8.2-2.1.el8_9
Fixed · RHSA-2024:0889
Red Hat Enterprise Linux 8
ruby:2.5-8100020250506105643.489197e6
Fixed · RHSA-2025:7539
Red Hat Enterprise Linux 8.6 Extended Update Support
oniguruma-0:6.8.2-2.1.el8_6
Fixed · RHSA-2024:0409
Red Hat Enterprise Linux 8.8 Extended Update Support
oniguruma-0:6.8.2-2.1.el8_8
Fixed · RHSA-2024:0572
Red Hat Enterprise Linux 5
php
Out of support scope
Red Hat Enterprise Linux 5
php53
Out of support scope
Red Hat Enterprise Linux 6
oniguruma
Out of support scope
Red Hat Enterprise Linux 6
php
Out of support scope
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Enterprise Linux 7
ruby
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.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
Not affected
Red Hat Software Collections
rh-ruby25-ruby
Not affected
Red Hat Software Collections
rh-ruby26-ruby
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | oniguruma-0:6.8.2-2.1.el8_9 | Fixed | RHSA-2024:0889 |
| Red Hat Enterprise Linux 8 | ruby:2.5-8100020250506105643.489197e6 | Fixed | RHSA-2025:7539 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | oniguruma-0:6.8.2-2.1.el8_6 | Fixed | RHSA-2024:0409 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | oniguruma-0:6.8.2-2.1.el8_8 | Fixed | RHSA-2024:0572 |
| Red Hat Enterprise Linux 5 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 5 | php53 | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | oniguruma | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | ruby | 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.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 | Not affected | n/a |
| Red Hat Software Collections | rh-ruby25-ruby | Not affected | n/a |
| Red Hat Software Collections | rh-ruby26-ruby | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This flaw only affected 32-bit compiled versions of Oniguruma. Therefore it did not affect the following 64-bit versions: * PHP and Ruby as shipped with Red Hat Enterprise Linux 7. * PHP and Ruby as shipped with Red Hat Software Collections 3. * PHP as shipped with Red Hat Enterprise Linux 8. * OpenShift containers: openshift4/ose-metering-hadoop, openshift4/ose-metering-hive, openshift4/ose-metering-presto.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/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 v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (46 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 10.54% (0.10539) | 95.65th | v5 (v2026.06.15) |
| Jun 15, 2026 | 10.54% (0.10539) | 95.17th | v5 (v2026.06.15) |
| Mar 4, 2026 | 14.78% (0.14783) | 94.36th | v4 (v2025.03.14) |
| Mar 1, 2026 | 19.24% (0.19242) | 95.27th | v4 (v2025.03.14) |
| Feb 4, 2026 | 14.78% (0.14783) | 94.32th | v4 (v2025.03.14) |
| Feb 1, 2026 | 19.24% (0.19242) | 95.23th | v4 (v2025.03.14) |
| Jan 4, 2026 | 14.78% (0.14783) | 94.28th | v4 (v2025.03.14) |
| Jan 1, 2026 | 19.24% (0.19242) | 95.21th | v4 (v2025.03.14) |
| Dec 4, 2025 | 15.12% (0.15119) | 94.31th | v4 (v2025.03.14) |
| Dec 1, 2025 | 19.65% (0.19650) | 95.23th | v4 (v2025.03.14) |
| Nov 21, 2025 | 14.78% (0.14783) | 94.23th | v4 (v2025.03.14) |
| Nov 18, 2025 | 16.73% (0.16728) | 94.41th | v4 (v2025.03.14) |
| Nov 4, 2025 | 14.78% (0.14783) | 94.21th | v4 (v2025.03.14) |
| Nov 1, 2025 | 19.24% (0.19242) | 95.14th | v4 (v2025.03.14) |
| Oct 4, 2025 | 14.78% (0.14783) | 94.26th | v4 (v2025.03.14) |
| Oct 1, 2025 | 19.24% (0.19242) | 95.18th | v4 (v2025.03.14) |
| Sep 12, 2025 | 14.78% (0.14783) | 94.27th | v4 (v2025.03.14) |
| Sep 10, 2025 | 20.97% (0.20973) | 95.43th | v4 (v2025.03.14) |
| Sep 4, 2025 | 14.78% (0.14783) | 94.27th | v4 (v2025.03.14) |
| Sep 1, 2025 | 19.24% (0.19242) | 95.17th | v4 (v2025.03.14) |
| Aug 5, 2025 | 14.78% (0.14783) | 94.22th | v4 (v2025.03.14) |
| Jul 12, 2025 | 19.65% (0.19650) | 95.14th | v4 (v2025.03.14) |
| Jul 7, 2025 | 15.26% (0.15261) | 94.28th | v4 (v2025.03.14) |
| May 28, 2025 | 21.71% (0.21713) | 95.40th | v4 (v2025.03.14) |
| May 23, 2025 | 17.36% (0.17356) | 94.68th | v4 (v2025.03.14) |
| May 22, 2025 | 21.71% (0.21713) | 95.40th | v4 (v2025.03.14) |
| May 17, 2025 | 16.98% (0.16983) | 94.58th | v4 (v2025.03.14) |
| Mar 30, 2025 | 21.27% (0.21275) | 95.19th | v4 (v2025.03.14) |
| Mar 29, 2025 | 22.70% (0.22696) | 93.32th | v4 (v2025.03.14) |
| Mar 28, 2025 | 21.27% (0.21275) | 95.19th | v4 (v2025.03.14) |
| Mar 27, 2025 | 22.70% (0.22696) | 95.08th | v4 (v2025.03.14) |
| Mar 20, 2025 | 21.27% (0.21275) | 95.22th | v4 (v2025.03.14) |
| Mar 19, 2025 | 22.70% (0.22696) | 95.17th | v4 (v2025.03.14) |
| Mar 17, 2025 | 21.27% (0.21275) | 95.21th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.75% (0.02749) | 90.28th | v3 (v2023.03.01) |
| Mar 11, 2024 | 1.09% (0.01088) | 83.97th | v3 (v2023.03.01) |
| Feb 11, 2024 | 1.10% (0.01102) | 84.01th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.97% (0.00968) | 81.55th | v3 (v2023.03.01) |
| Oct 7, 2023 | 1.14% (0.01137) | 83.09th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.18% (0.01183) | 82.86th | v3 (v2023.03.01) |
| Mar 6, 2023 | 25.58% (0.25580) | 96.99th | v2 (v2022.01.01) |
| Feb 4, 2022 | 25.58% (0.25580) | 95.55th | v2 (v2022.01.01) |
| Feb 3, 2022 | 8.70% (0.08700) | 85.97th | v1 |
| Jan 6, 2022 | 8.70% (0.08700) | 85.81th | v1 |
| Sep 1, 2021 | 8.70% (0.08700) | 93.14th | v1 |
| Apr 14, 2021 | 8.70% (0.08700) | 0.00th | v1 |
References (11)
- https://access.redhat.com/security/cve/CVE-2019-19012 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1802051 Issue Tracking
- https://github.com/kkos/oniguruma/issues/164 x_refsource_MISCExploitPatchThird Party Advisory
- https://github.com/kkos/oniguruma/releases/tag/v6.9.4_rc2 x_refsource_MISCThird Party Advisory
- https://github.com/tarantula-team/CVE-2019-19012 x_refsource_MISCExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00002.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NO267PLHGYZSWX3XTRPKYBKD4J3YOU5V/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V3MBNW6Z4DOXSCNWGBLQ7OA3OGUJ44WL/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-19012
- https://usn.ubuntu.com/4460-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2019-19012
Change history (0)
No recorded changes yet.