CVE & CISA-KEV Catalog

CVE-2017-9226

CRITICALEPSS 94th pctl
9.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
libonigDebian
Fixed in:6.1.3-2CVE-2017-9226
Fixed in:6.1.3-2CVE-2017-9226
Fixed in:6.1.3-2CVE-2017-9226
Fixed in:6.1.3-2CVE-2017-9226
libapache2-mod-php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.22USN-3382-1
libapache2-mod-php7.0Ubuntu
Fixed in:7.0.22-0ubuntu0.16.04.1USN-3382-1
php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.22USN-3382-1
php5-cgiUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.22USN-3382-1
php5-cliUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.22USN-3382-1
php5-fpmUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.22USN-3382-1
php7.0Ubuntu
Fixed in:7.0.22-0ubuntu0.16.04.1USN-3382-1
php7.0-cgiUbuntu
Fixed in:7.0.22-0ubuntu0.16.04.1USN-3382-1
php7.0-cliUbuntu
Fixed in:7.0.22-0ubuntu0.16.04.1USN-3382-1
php7.0-fpmUbuntu
Fixed in:7.0.22-0ubuntu0.16.04.1USN-3382-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

7.51%probability of exploitation in 30 days
94thpercentile

High risk: more likely to be exploited than 94% of all known CVEs.

References

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2017-9226
CVE-2017-9226 severity badge

Markdown

[![CVE-2017-9226](https://tridentstack.com/cve/badge/CVE-2017-9226.svg)](https://tridentstack.com/cve/CVE-2017-9226)

HTML

<a href="https://tridentstack.com/cve/CVE-2017-9226"><img src="https://tridentstack.com/cve/badge/CVE-2017-9226.svg" alt="CVE-2017-9226"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-13.