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 heap out-of-bounds write or read occurs in next_state_val() during regular expression compilation. Octal numbers larger than 0xff are not handled correctly in fetch_token() and fetch_token_in_cc(). A malformed regular expression containing an octal number in the form of '\700' would produce an invalid code point value larger than 0xff in next_state_val(), resulting in an out-of-bounds write memory corruption.
Conclusion & alert: CVE-2017-9226 is rated High Exploit Risk (82.2/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.24%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-26 | 1.08% | 1.24% | +0.16% |
| 2 | 2026-05-14 | 1.04% | 1.08% | +0.04% |
| 3 | 2026-03-04 | — | 1.04% | — |
Full EPSS history (56 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2017-9226 not yet assigned priority: Debian including 1 source packages (libonig), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2017-9226 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2017-9226 |
suse
|
medium | CVE-2017-9226 severity moderate: SUSE including 208 source package names (apache2-mod_php5-5.2.14-0.7.30.110.1, apache2-mod_php5-5.5.14-108.1, …), 302 product×package rows across 12 product lines (SUSE Linux Enterprise Module for Web and Scripting 12, SUSE Linux Enterprise Server 11 SP1 for Teradata, … (12 product lines)): Fixed 300, Known Not Affected 2. | https://www.suse.com/security/cve/CVE-2017-9226/ |
ubuntu
|
medium | CVE-2017-9226 medium priority: Ubuntu including 4 source packages (libonig, php5, php7.0, php7.1), 25 status rows across 7 suites (artful, bionic, trusty, upstream, xenial, yakkety, zesty): DNE 11, released 6, needs-triage 4, ignored 3, not-affected 1. | https://ubuntu.com/security/CVE-2017-9226 |
| URL | Tags |
|---|---|
| http://www.securityfocus.com/bid/101244 | Third Party Advisory VDB Entry |
| https://access.redhat.com/errata/RHSA-2018:1296 | Third Party Advisory |
| https://github.com/kkos/oniguruma/commit/b4bf968ad52afe14e60a2dc8a95d3555c543353a | Patch Third Party Advisory |
| https://github.com/kkos/oniguruma/commit/f015fbdd95f76438cd86366467bb2b39870dd7c6 | Patch Third Party Advisory |
| https://github.com/kkos/oniguruma/issues/55 | Exploit Issue Tracking Third Party Advisory |