Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2017-9225 Details

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 stack out-of-bounds write in onigenc_unicode_get_case_fold_codes_by_str() occurs during regular expression compilation. Code point 0xFFFFFFFF is not properly handled in unicode_unfold_key(). A malformed regular expression could result in 4 bytes being written off the end of a stack buffer of expand_case_fold_string() during the call to onigenc_unicode_get_case_fold_codes_by_str(), a typical stack buffer overflow.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-787Out-of-bounds Write[email protected]

Affected Products

ProductVersions
oniguruma project oniguruma
6.2.0

CPE

  • cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
php php
<= 7.1.5

CPE

  • cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:*

Remediation

  • No remediation found in references.
ruby-lang ruby
<= 2.4.1

CPE

  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:*

Remediation

  • No remediation found in references.

Change History

5 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2017-9225
NVD Published Date:
May 24, 2017
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2017-9225 Details - Not Deferred