Search for vulnerabilities
Vulnerability details: VCID-sqtp-vevt-aaak
Vulnerability ID VCID-sqtp-vevt-aaak
Aliases CVE-2017-9228
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 8.8
Risk 4.4
Affected and Fixed Packages Package Details
Weaknesses (2)
System Score Found at
generic_textual Medium http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-9228.html
cvssv3 5.9 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-9228.json
epss 0.00304 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00304 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00304 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00335 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00335 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00335 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00335 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00335 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00432 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00474 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00811 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00896 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00896 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.00896 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
epss 0.03425 https://api.first.org/data/v1/epss?cve=CVE-2017-9228
rhbs medium https://bugzilla.redhat.com/show_bug.cgi?id=1466740
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9228
cvssv2 4.6 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3 6.4 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv2 7.5 https://nvd.nist.gov/vuln/detail/CVE-2017-9228
cvssv3 9.8 https://nvd.nist.gov/vuln/detail/CVE-2017-9228
cvssv3.1 9.8 https://nvd.nist.gov/vuln/detail/CVE-2017-9228
generic_textual Medium https://ubuntu.com/security/notices/USN-3382-1
generic_textual Medium https://ubuntu.com/security/notices/USN-3382-2
Reference id Reference type URL
http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-9228.html
https://access.redhat.com/errata/RHSA-2018:1296
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-9228.json
https://api.first.org/data/v1/epss?cve=CVE-2017-9228
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9228
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://github.com/kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b
https://github.com/kkos/oniguruma/issues/60
https://ubuntu.com/security/notices/USN-3382-1
https://ubuntu.com/security/notices/USN-3382-2
1466740 https://bugzilla.redhat.com/show_bug.cgi?id=1466740
863316 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863316
cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:*
CVE-2017-9228 https://nvd.nist.gov/vuln/detail/CVE-2017-9228
USN-3382-1 https://usn.ubuntu.com/3382-1/
USN-3382-2 https://usn.ubuntu.com/3382-2/
No exploits are available.
Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-9228.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:H/Au:S/C:P/I:P/A:P Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2017-9228
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2017-9228
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2017-9228
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.53313
EPSS Score 0.00304
Published At June 1, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
There are no relevant records.