CVE-2019-19012
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 10.62% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 95.7% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-11-16 15:30Z6 YR AGO
- Last updated
- 2024-08-05 02:02Z2 YR AGO
- Reserved
- 2019-11-16
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 2c588fafb30733b0b5decbb9234b106fe06a9831598cf4c182e995d9028fed24
05 Affected products
06 References
- github.comhttps://github.com/kkos/oniguruma/issues/164
- github.comhttps://github.com/kkos/oniguruma/releases/tag/v6.9.4_rc2
- github.comhttps://github.com/tarantula-team/CVE-2019-19012
- lists.fedoraproject.orgFEDORA-2019-d942abd0d4https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NO267PLHGYZSWX3XTRPKYBKD4J3YOU5V/
- lists.debian.org[debian-lts-announce] 20191204 [SECURITY] [DLA 2020-1] libonig security updatehttps://lists.debian.org/debian-lts-announce/2019/12/msg00002.html
- lists.fedoraproject.orgFEDORA-2019-73197ff9a0https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V3MBNW6Z4DOXSCNWGBLQ7OA3OGUJ44WL/
- usn.ubuntu.comUSN-4460-1https://usn.ubuntu.com/4460-1/
07 Fixed in
AlmaLinux 8
- oniguruma Fixed in 6.8.2-2.1.el8_9
- oniguruma-devel Fixed in 6.8.2-2.1.el8_9
- ruby Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- ruby-devel Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- ruby-doc Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- ruby-irb Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- ruby-libs Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- rubygem-abrt Fixed in 0.3.0-4.module_el8.5.0+2625+ec418553
- rubygem-abrt-doc Fixed in 0.3.0-4.module_el8.10.0+3871+342e2c2f
- rubygem-bigdecimal Fixed in 1.3.4-114.module_el8.10.0+3991+5e651d4e
- rubygem-bson Fixed
A version is affected if any line below covers it.
- Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
- Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
- Affected before 4.3.0-2.module_el8.6.0+3170+4b08f9d4
- rubygem-bson-doc Fixed in 4.3.0-2.module_el8.5.0+2625+ec418553
- rubygem-bundler Fixed in 1.16.1-5.module_el8.10.0+3991+5e651d4e
- rubygem-bundler-doc Fixed in 1.16.1-5.module_el8.10.0+3991+5e651d4e
- rubygem-did_you_mean Fixed in 1.2.0-114.module_el8.10.0+3991+5e651d4e
- rubygem-io-console Fixed in 0.4.6-114.module_el8.10.0+3991+5e651d4e
- rubygem-json Fixed in 2.1.0-114.module_el8.10.0+3991+5e651d4e
- rubygem-minitest Fixed in 5.10.3-114.module_el8.10.0+3991+5e651d4e
- rubygem-mongo Fixed in 2.5.1-2.module_el8.5.0+2625+ec418553
- rubygem-mongo-doc Fixed in 2.5.1-2.module_el8.5.0+2625+ec418553
- rubygem-mysql2 Fixed
A version is affected if any line below covers it.
- Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
- Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
- Affected before 0.4.10-4.module_el8.6.0+3170+4b08f9d4
- rubygem-mysql2-doc Fixed in 0.4.10-4.module_el8.5.0+2625+ec418553
- rubygem-net-telnet Fixed in 0.1.1-114.module_el8.10.0+3991+5e651d4e
- rubygem-openssl Fixed in 2.1.2-114.module_el8.10.0+3991+5e651d4e
- rubygem-pg Fixed in 1.0.0-3.module_el8.9.0+3635+c6f99506
- rubygem-pg-doc Fixed in 1.0.0-3.module_el8.9.0+3635+c6f99506
- rubygem-power_assert Fixed in 1.1.1-114.module_el8.10.0+3991+5e651d4e
- rubygem-psych Fixed in 3.0.2-114.module_el8.10.0+3991+5e651d4e
- rubygem-rake Fixed in 12.3.3-114.module_el8.10.0+3991+5e651d4e
- rubygem-rdoc Fixed in 6.0.1.1-114.module_el8.10.0+3991+5e651d4e
- rubygem-test-unit Fixed in 3.2.7-114.module_el8.10.0+3991+5e651d4e
- rubygem-xmlrpc Fixed in 0.3.0-114.module_el8.10.0+3991+5e651d4e
- rubygems Fixed in 2.7.6.3-114.module_el8.10.0+3991+5e651d4e
- rubygems-devel Fixed in 2.7.6.3-114.module_el8.10.0+3991+5e651d4e
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- oniguruma Fixed in 6.8.2-2.1.el8_9
- oniguruma-devel Fixed in 6.8.2-2.1.el8_9
- ruby Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- ruby-devel Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- ruby-doc Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- ruby-irb Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- ruby-libs Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
- rubygem-abrt Fixed in 0.3.0-4.module_el8.5.0+2625+ec418553
- rubygem-abrt-doc Fixed in 0.3.0-4.module_el8.10.0+3871+342e2c2f
- rubygem-bigdecimal Fixed in 1.3.4-114.module_el8.10.0+3991+5e651d4e
- rubygem-bson Fixed
A version is affected if any line below covers it.
- Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
- Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
- Affected before 4.3.0-2.module_el8.6.0+3170+4b08f9d4
- rubygem-bson-doc Fixed in 4.3.0-2.module_el8.5.0+2625+ec418553
- rubygem-bundler Fixed in 1.16.1-5.module_el8.10.0+3991+5e651d4e
- rubygem-bundler-doc Fixed in 1.16.1-5.module_el8.10.0+3991+5e651d4e
- rubygem-did_you_mean Fixed in 1.2.0-114.module_el8.10.0+3991+5e651d4e
- rubygem-io-console Fixed in 0.4.6-114.module_el8.10.0+3991+5e651d4e
- rubygem-json Fixed in 2.1.0-114.module_el8.10.0+3991+5e651d4e
- rubygem-minitest Fixed in 5.10.3-114.module_el8.10.0+3991+5e651d4e
- rubygem-mongo Fixed in 2.5.1-2.module_el8.5.0+2625+ec418553
- rubygem-mongo-doc Fixed in 2.5.1-2.module_el8.5.0+2625+ec418553
- rubygem-mysql2 Fixed
A version is affected if any line below covers it.
- Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
- Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
- Affected before 0.4.10-4.module_el8.6.0+3170+4b08f9d4
- rubygem-mysql2-doc Fixed in 0.4.10-4.module_el8.5.0+2625+ec418553
- rubygem-net-telnet Fixed in 0.1.1-114.module_el8.10.0+3991+5e651d4e
- rubygem-openssl Fixed in 2.1.2-114.module_el8.10.0+3991+5e651d4e
- rubygem-pg Fixed in 1.0.0-3.module_el8.9.0+3635+c6f99506
- rubygem-pg-doc Fixed in 1.0.0-3.module_el8.9.0+3635+c6f99506
- rubygem-power_assert Fixed in 1.1.1-114.module_el8.10.0+3991+5e651d4e
- rubygem-psych Fixed in 3.0.2-114.module_el8.10.0+3991+5e651d4e
- rubygem-rake Fixed in 12.3.3-114.module_el8.10.0+3991+5e651d4e
- rubygem-rdoc Fixed in 6.0.1.1-114.module_el8.10.0+3991+5e651d4e
- rubygem-test-unit Fixed in 3.2.7-114.module_el8.10.0+3991+5e651d4e
- rubygem-xmlrpc Fixed in 0.3.0-114.module_el8.10.0+3991+5e651d4e
- rubygems Fixed in 2.7.6.3-114.module_el8.10.0+3991+5e651d4e
- rubygems-devel Fixed in 2.7.6.3-114.module_el8.10.0+3991+5e651d4e
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- libonig Fixed in 6.9.4-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libonig Fixed in 6.9.4-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libonig Fixed in 6.9.4-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- libonig Fixed in 5.9.1-1ubuntu1.1+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libonig Fixed in 5.9.6-1ubuntu0.1+esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- libonig Fixed in 6.7.0-1ubuntu0.1~esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.