Am I affected?
CVE-2017-9224
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A stack out-of-bounds read occurs in match_at() during regular expression searching. A logical error involving order of validation and access in match_at() could result in an out-of-bounds read from a stack buffer.
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): 6.54% chance of exploitation activity in the next 30 days (top 7% 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.1 | 7.1.0 (including) to 7.1.7 (excluding) | 7.1.7 |
| PHP 7.0 | 7.0.0 (including) to 7.0.21 (excluding) | 7.0.21 |
| PHP 5.6 | PHP 5.6 only, before 5.6.31 | 5.6.31 |
"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-2017-12933 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-08-18
- CVE-2017-9226 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-05-24
- CVE-2017-9227 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-05-24
- CVE-2017-9228 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-05-24
- CVE-2016-10160 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-01-24
- CVE-2017-11147 Critical 9.1 · PHP 7.1, 7.0, 5.6 · 2017-07-10
Questions
- Which PHP versions are affected by CVE-2017-9224?
- NVD lists these affected ranges: 7.1.0 (including) to 7.1.7 (excluding); 7.0.0 (including) to 7.0.21 (excluding); PHP 5.6 only, before 5.6.31.
- Which PHP version fixes CVE-2017-9224?
- According to NVD, the fix is in PHP 7.1.7, 7.0.21, 5.6.31 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2017-9224?
- 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-2017-9224 on NIST NVD. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.