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…

CVE-2019-13224 affects 16 listed versions of PHP in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
4%EPSS (next 30 days)
10 July 2019published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

16 of 250 listed versions are affected. Fixed in 7.2.23, 7.1.32. The newest release, 8.6.0, is not affected.

7.2.22 7.2.21 7.2.20 7.1.31 7.1.30 7.1.29 7.1.28 7.1.27 7.1.26 7.1.25 7.1.24 7.1.23 7.1.22 7.1.21 7.1.20 7.1.19

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 10 July 2019. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2019-13224 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.