CVE-2017-9226

Source
https://cve.org/CVERecord?id=CVE-2017-9226
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-9226.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-9226
Downstream
Related
Published
2017-05-24T15:29:00.277Z
Modified
2026-01-30T10:04:18.271774Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 nextstateval() during regular expression compilation. Octal numbers larger than 0xff are not handled correctly in fetchtoken() and fetchtokenincc(). A malformed regular expression containing an octal number in the form of '\700' would produce an invalid code point value larger than 0xff in nextstateval(), resulting in an out-of-bounds write memory corruption.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

NEWS
NEWS-cvs2svn

php-5.*

php-5.3.23RC1
php-5.3.29
php-5.3.29RC1
php-5.4.30RC1
php-5.4.32RC1
php-5.4.4RC2
php-5.5.24RC1
php-5.6.18RC1
php-5.6.19RC1
php-5.6.22RC1
php-5.6.23RC1
php-5.6.24RC1

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-9226.json"