Live threats

All CVEs / Oniguruma Project

CVE-2019-13224Oniguruma Project Oniguruma

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Oniguruma.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
oniguruma_projectoniguruma6.9.2
phpphp≥ 7.1.0 < 7.1.32
phpphp≥ 7.2.0 < 7.2.23
phpphp≥ 7.3.0 < 7.3.9
fedoraprojectfedora29
fedoraprojectfedora30
debiandebian_linux8.0
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.