Am I affected?
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.
Not in the CISA KEV catalog as of the last sync. That means no confirmed exploitation is listed there, not that it is safe.
Exploit probability (FIRST EPSS): 4.05% chance of exploitation activity in the next 30 days (top 10% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
Check your PHP version
Fixed versions by branch
| Branch | Affected (NVD) | Fixed in |
|---|---|---|
| PHP 7.3 | 7.3.0 (including) to 7.3.9 (excluding) | 7.3.9 |
| PHP 7.2 | 7.2.0 (including) to 7.2.23 (excluding) | 7.2.23 |
| PHP 7.1 | 7.1.0 (including) to 7.1.32 (excluding) | 7.1.32 |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2019-11043 Critical 9.8 · PHP 7.3, 7.2, 7.1 · 2019-10-28
- CVE-2019-9641 Critical 9.8 · PHP 7.3, 7.2, 7.1 · 2019-03-09
- CVE-2019-9020 Critical 9.8 · PHP 7.3, 7.2, 7.1 · 2019-02-22
- CVE-2019-9021 Critical 9.8 · PHP 7.3, 7.2, 7.1 · 2019-02-22
- CVE-2019-9023 Critical 9.8 · PHP 7.3, 7.2, 7.1 · 2019-02-22
- CVE-2019-11039 Critical 9.1 · PHP 7.3, 7.2, 7.1 · 2019-06-19
Questions
- Which PHP versions are affected by CVE-2019-13224?
- NVD lists these affected ranges: 7.3.0 (including) to 7.3.9 (excluding); 7.2.0 (including) to 7.2.23 (excluding); 7.1.0 (including) to 7.1.32 (excluding).
- Which PHP version fixes CVE-2019-13224?
- According to NVD, the fix is in PHP 7.3.9, 7.2.23, 7.1.32 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2019-13224?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2019-13224 on NIST NVD. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.