9.8

CVE-2017-9226: oniguruma_project oniguruma Out-of-bounds Write

Modified
AliasesALPINE-CVE-2017-9226UBUNTU-CVE-2017-9226DEBIAN-CVE-2017-9226
Published 24-05-2017Last modified 05-08-2024

Vulnerability summary

CVE-2017-9226 is a critical (CVSS 9.8) Out-of-bounds Write vulnerability in oniguruma_project oniguruma. EPSS estimates a 7.51% chance of exploitation in the next 30 days, higher than 94.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
7.51%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 7 · Related 4

Timeline

  1. 24-05-2017
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 4 sources · 3 versions

EPSS trend

Probability

7.51%

Chance of exploitation in the next 30 days

Percentile

95%

Versus all other CVEs

30-day change

No change 0.00 pp

From 7.51% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Oniguruma

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu3 products
  • libonig< 5.9.1-1ubuntu1.1 | < 5.9.6-1ubuntu0.1
  • php5< 5.5.9+dfsg-1ubuntu4.22
  • php7.0< 7.0.22-0ubuntu0.16.04.1
Alpine2 products
  • php5< 5.6.31-r0
  • php7< 7.0.21-r0 | < 7.1.9-r0 | < 7.1.7-r0
Debian1 product
  • libonig< 6.1.3-2
Oniguruma_project1 product
Php1 product
  • php< 5.6.31 | ≥ 7.0.0, < 7.0.21 | ≥ 7.1.0, < 7.1.7

5 vendors · 8 products

References

11 links
Show all 11 references