CVE-2019-13224Oniguruma Project Oniguruma
Critical 9.8 No auth needed
Follow: this CVE · Oniguruma Project · Oniguruma Project Oniguruma We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jul 10, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Oniguruma.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| oniguruma_project | oniguruma | 6.9.2 |
| php | php | ≥ 7.1.0 < 7.1.32 |
| php | php | ≥ 7.2.0 < 7.2.23 |
| php | php | ≥ 7.3.0 < 7.3.9 |
| fedoraproject | fedora | 29 |
| fedoraproject | fedora | 30 |
| debian | debian_linux | 8.0 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
Official advisories
- Red Hat Security Advisory: oniguruma security update · Red Hat · RHSA-2024:0889 · Nov 25, 2026 Medium
- Red Hat Security Advisory: oniguruma security update · Red Hat · RHSA-2024:0409 · Nov 25, 2026 Medium
- Red Hat Security Advisory: php:7.3 security, bug fix, and enhancement update · Red Hat · RHSA-2020:3662 · Nov 25, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- support.f5.com Third Party Advisory
- support.f5.com
- usn.ubuntu.com Third Party Advisory