CVE-2017-9228 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 heap out-of-bounds write occurs in bitset_set_range() during regular expression compilation due to an uninitialized variable from an incorrect state transition. An incorrect state transition in parse_char_class() could create an execution path that leaves a critical local variable uninitialized until it's used as an index, resulting in an out-of-bounds write memory corruption.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2018:1296 | CVE | Third Party Advisory |
| https://github.com/kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b | CVE | PatchThird Party Advisory |
| https://github.com/kkos/oniguruma/issues/60 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://access.redhat.com/errata/RHSA-2018:1296 | [email protected] | Third Party Advisory |
| https://github.com/kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b | [email protected] | PatchThird Party Advisory |
| https://github.com/kkos/oniguruma/issues/60 | [email protected] | ExploitIssue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| oniguruma project oniguruma | 6.2.0 |
CPE
Remediation
| |
| php php | >= 5.6.0, < 5.6.31 >= 7.0.0, < 7.0.21 >= 7.1.0, < 7.1.7 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 13, 2026 | CVE Status Change | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 20, 2022 | Modified Analysis | [email protected] |
| May 4, 2018 | CVE Modified | [email protected] |
| Jun 2, 2017 | Initial Analysis | [email protected] |