An integer overflow in the search_in_range function in regexec.c in Oniguruma 6.x before…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:oniguruma_project:oniguruma:*:*:*:*:*:*:*:* | 6.0.0 – 6.9.3 | Vulnerable | Oniguruma Project |
| cpe:2.3:a:oniguruma_project:oniguruma:6.9.4:rc1:*:*:*:*:*:* | 6.9.4 rc1 | Vulnerable | Oniguruma Project |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 31 | Vulnerable | Fedoraproject |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
- cpe:2.3:a:oniguruma_project:oniguruma:*:*:*:*:*:*:*:* Versions 6.0.0 – 6.9.3 Vulnerable ·Oniguruma Project
- cpe:2.3:a:oniguruma_project:oniguruma:6.9.4:rc1:*:*:*:*:*:* Versions 6.9.4 rc1 Vulnerable ·Oniguruma Project
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
Remediation
Red Hat 4 advisories
- RHSA-2025:7539 Released 2025-05-14 · Red Hat rating Moderateruby:2.5 security update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.5.9-114.module+el8.10.0+23088+750dc6ca.aarch64::ruby:2.5, ruby-2.5.9-114.module+el8.10.0+23088+750dc6ca.i686::ruby:2.5, ruby-2.5.9-114.module+el8.10.0+23088+750dc6ca.ppc64le::ruby:2.5 +47
- RHSA-2024:0889 Released 2024-02-20 · Red Hat rating Moderateoniguruma security update
- Red Hat CodeReady Linux Builder (v. 8) oniguruma-devel-6.8.2-2.1.el8_9
- Red Hat Enterprise Linux AppStream (v. 8) oniguruma-6.8.2-2.1.el8_9
- RHSA-2024:0572 Released 2024-01-30 · Red Hat rating Moderateoniguruma security update
- Red Hat CodeReady Linux Builder EUS (v.8.8) oniguruma-devel-6.8.2-2.1.el8_8
- Red Hat Enterprise Linux AppStream EUS (v.8.8) oniguruma-6.8.2-2.1.el8_8
Show 1 more Red Hat advisories
- RHSA-2024:0409 Released 2024-01-25 · Red Hat rating Moderateoniguruma security update
- Red Hat CodeReady Linux Builder EUS (v.8.6) oniguruma-devel-6.8.2-2.1.el8_6
- Red Hat Enterprise Linux AppStream EUS (v.8.6) oniguruma-6.8.2-2.1.el8_6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2024:0889 |
| Red Hat CodeReady Linux Builder EUS (v.8.6) | Fixed | RHSA-2024:0409 |
| Red Hat CodeReady Linux Builder EUS (v.8.8) | Fixed | RHSA-2024:0572 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2024:0889, RHSA-2025:7539 |
| Red Hat Enterprise Linux AppStream EUS (v.8.6) | Fixed | RHSA-2024:0409 |
| Red Hat Enterprise Linux AppStream EUS (v.8.8) | Fixed | RHSA-2024:0572 |
Not affected: 4 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2019-19012
- 2026-10-03 Alias added: GHSA-5mw9-mr3r-536c
References
Exploit 2
Sources
- CVE-2019-19012 · CVE Program
- CVE-2019-19012 · NVD
- FIRST EPSS
- GHSA-5mw9-mr3r-536c · GitHub Advisory Database · CC BY 4.0
- CVE-2019-19012 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences