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

EPSS: 0.040 (89.9th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.