Heap out-of-bounds write or read in next_state_val() in Oniguruma
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 7.511%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Red Hat | CloudForms Management Engine 5 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 5 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 6 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 7 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat OpenShift Container Platform 4 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Affected versions:Source does not specify a version range |
1–10 of 44 · Page 1 of 5
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE-2017-9226 · OSV (source-vector)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSUSE · SUSE VEX (adp)4.8 / 10MediumCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LRed Hat · Red Hat VEX (adp)4.8 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences