CVE-2017-9226

CVSS V2 High 7.5 CVSS V3 Critical 9.8
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.
Overview
  • CVE ID
  • CVE-2017-9226
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2017-05-24T15:29:00
  • Last Modified Date
  • 2022-07-20T16:38:18
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 5.6.31
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 7.0.0 7.0.21
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 7.1.0 7.1.7
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 7.5
  • Severity
  • HIGH
  • Exploitability Score
  • 10
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.8
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.9
History
Created Old Value New Value Data Type Notes
2022-05-10 17:54:33 Added to TrackCVE
2022-12-02 17:17:12 2017-05-24T15:29Z 2017-05-24T15:29:00 CVE Published Date updated
2022-12-02 17:17:12 2022-07-20T16:38:18 CVE Modified Date updated
2022-12-02 17:17:12 Analyzed Vulnerability Status updated