Security mailing lists by PureSourceCode

CVE-2017-9228

CRITICAL 9.8CVSS 3.1

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.

Published
24 May 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-787
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD oniguruma_project oniguruma
cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*
= 6.2.0
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.6.0, < 5.6.31 5.6.31
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.0.21 7.0.21
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.1.0, < 7.1.7 7.1.7

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 24 May 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.