Use After Free in Oniguruma Project
CVE-2019-13224
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.040 (90.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 90.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.040 · newest: 0.040 · change: 0.000
Affected products
- Oniguruma Project — versions 6.9.2
- PHP
- Canonical Ubuntu Linux — versions 12.04, 14.04
- Debian Linux — versions 8.0
- Fedoraproject Fedora — versions 29, 30
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55 (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/07/msg00013.html (mailing-list, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- usn.ubuntu.com/4088-1/ (vendor-advisory, Third Party Advisory)
- support.f5.com/csp/article/K00103182 (Third Party Advisory)
- support.f5.com/csp/article/K00103182
- security.gentoo.org/glsa/201911-03 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-13224?
- CVE-2019-13224 is a critical-severity vulnerability in Oniguruma Project, classified under Use After Free. CVSS score: 9.8/10. Published 2019-07-10.
- How severe is CVE-2019-13224?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2019-13224 known to be exploited?
- 8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.