{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-9227","published":"2017-05-24T15:29:00.323000Z","last_modified":"2026-06-17T01:27:42.867000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*","part":"a","vendor":"oniguruma_project","product":"oniguruma","version":"6.2.0"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"5.6.0","version_end_excluding":"5.6.31"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"7.0.0","version_end_excluding":"7.0.21"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"7.1.0","version_end_excluding":"7.1.7"}],"cpes_truncated":false,"vendors":["oniguruma_project","php"],"products":["oniguruma_project/oniguruma","php/php"],"epss":{"score":0.06265,"percentile":0.94358,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2017-9227/","html_en":"/en/cve/CVE-2017-9227/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-9227","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-9227"},"untrusted":{"vendor_name":"Oniguruma Project","product_name":"Oniguruma","desc_en":"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 mbc_enc_len() during regular expression searching. Invalid handling of reg->dmin in forward_search_range() could result in an invalid pointer dereference, as an out-of-bounds read from a stack buffer.","affected":[],"references":[{"url":"http://www.securityfocus.com/bid/100538","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1296","tags":["Third Party Advisory"]},{"url":"https://github.com/kkos/oniguruma/commit/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/kkos/oniguruma/issues/58","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]}]}}