VDB

CVE-2017-9226

CVE-2017-9226 PUBLISHED

Reported by mitre · Published May 24, 2017

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php-gdAmazon Linux5.4.16-46.amzn2.0.6
php-snmpAmazon Linux5.4.16-46.amzn2.0.6
php-cliAmazon Linux5.4.16-46.amzn2.0.6
php-ldapAmazon Linux5.4.16-46.amzn2.0.6
php-dbaAmazon Linux5.4.16-46.amzn2.0.6
php-fpmAmazon Linux5.4.16-46.amzn2.0.6
php-mbstringAmazon Linux5.4.16-46.amzn2.0.6
oniguruma-develAmazon Linux5.9.6-1.amzn2.0.7

Affected products

VendorProductVersions
n/an/an/a
amazon:2php-gd0
amazon:2php-snmp0
amazon:2php-cli0
amazon:2php-ldap0
amazon:2php-dba0
amazon:2php-fpm0
amazon:2php-mbstring0
amazon:2oniguruma-devel0
n/an/a*
amazon:2php-intl0
amazon:2php-recode0
amazon:2php-devel0
amazon:2php-pgsql0
amazon:2php-process0
amazon:2php-xmlrpc0
alpinephp70, 0, 0
amazon:2php-pdo0
amazon:2php-bcmath0
alpinephp50

…and 10 more

Timeline

  • May 24, 2017 CVE Published
  • Oct 14, 2019 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (4 in total, the first dated here)
  • Sep 27, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-9226
vulnetix vdb fixes CVE-2017-9226

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-9226/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_CONFIRM
  • RHSA-2018:1296 vendor-advisoryx_refsource_REDHAT
  • x_refsource_CONFIRM
  • x_refsource_CONFIRM
  • 101244 vdb-entryx_refsource_BID
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›