A use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 allows attackers to…
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, 6 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
A use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 allows attackers to potentially cause information disclosure, denial of service, or possibly code execution by providing a crafted regular expression. The attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets handled by onig_new_deluxe(). Oniguruma issues often affect Ruby, as well as common optional libraries for PHP and Rust.
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 · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:oniguruma_project:oniguruma:6.9.2:-:*:*:*:*:*:* | 6.9.2 | Vulnerable | Oniguruma Project |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 7.1.0 to before 7.1.32; 7.2.0 to before 7.2.23; 7.3.0 to before 7.3.9 | Vulnerable | PHP |
| cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | 29 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
- cpe:2.3:a:oniguruma_project:oniguruma:6.9.2:-:*:*:*:*:*:* Versions 6.9.2 Vulnerable ·Oniguruma Project
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 7.1.0 to before 7.1.32; 7.2.0 to before 7.2.23; 7.3.0 to before 7.3.9 Vulnerable ·PHP
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
Remediation
Red Hat 4 advisories
- 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
- 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
Show 1 more Red Hat advisories
- RHSA-2020:3662 Released 2020-09-08 · Red Hat rating Moderatephp:7.3 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) apcu-panel-5.1.17-1.module+el8.1.0+3189+a1bff096.noarch::php:7.3, libzip-1.5.2-1.module+el8.1.0+3189+a1bff096.aarch64::php:7.3, libzip-1.5.2-1.module+el8.1.0+3189+a1bff096.ppc64le::php:7.3 +47
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: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 4 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | 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-2020:3662, RHSA-2024:0889 |
| 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: 2 products
- Red Hat Enterprise Linux 8
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2019-13224
- 2026-10-03 Alias added: GHSA-p5x5-jvwg-8vjr
References
Advisory 6
Sources
- CVE-2019-13224 · CVE Program
- CVE-2019-13224 · NVD
- FIRST EPSS
- GHSA-p5x5-jvwg-8vjr · GitHub Advisory Database · CC BY 4.0
- CVE-2019-13224 · 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