CVE-2019-13224
Reported by mitre · Published July 10, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libonig | Ubuntu:Pro:14.04:LTS | 5.9.1-1ubuntu1.1+esm1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| amazon:2 | oniguruma-devel | 0 |
| alpine | php7 | 0, 0 |
| amazon:2 | oniguruma | 0 |
Timeline
- Jul 10, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published
- Jan 20, 2026 CVE Updated
- Mar 6, 2026 Distribution Patch (13 in total, the first dated here)
- Mar 6, 2026 Security Advisory (16 in total, the first dated here)
- Sep 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-13224
vulnetix vdb fixes CVE-2019-13224
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-13224/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- [debian-lts-announce] 20190717 [SECURITY] [DLA 1854-1] libonig security update mailing-listx_refsource_MLIST
- FEDORA-2019-3f3d0953db vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-5409bb5e68 vendor-advisoryx_refsource_FEDORA
- USN-4088-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-201911-03 vendor-advisoryx_refsource_GENTOO