CVE-2017-9227 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 read occurs in mbc_enc_len() during regular expression searching. Invalid handling of reg->dmin in forward_search_range() could result in an invalid pointer dereference, as an out-of-bounds read from a stack buffer.
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/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814 | CVE | PatchThird Party Advisory |
| https://github.com/kkos/oniguruma/issues/58 | CVE | ExploitIssue TrackingPatchThird Party Advisory |
| http://www.securityfocus.com/bid/100538 | CVE | Third Party AdvisoryVDB Entry |
| https://access.redhat.com/errata/RHSA-2018:1296 | [email protected] | Third Party Advisory |
| https://github.com/kkos/oniguruma/commit/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814 | [email protected] | PatchThird Party Advisory |
| https://github.com/kkos/oniguruma/issues/58 | [email protected] | ExploitIssue TrackingPatchThird Party Advisory |
| http://www.securityfocus.com/bid/100538 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [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
8 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] |
| Oct 13, 2017 | CVE Modified | [email protected] |
| Jun 2, 2017 | Initial Analysis | [email protected] |