VDB

CVE-2017-9227

CVE-2017-9227 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 stack out-of-bounds read occurs in mbc_enc_len() during regular expression searching. Invalid handling of reg->dmin in forward_search_range() could result in an invalid pointer dereference, as an out-of-bounds read from a stack buffer.

Fixed versions

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

PackageEcosystemFixed in
php-xmlrpcAmazon Linux5.4.16-46.amzn2.0.5
php-recodeAmazon Linux5.4.16-46.amzn2.0.5
php-gdAmazon Linux5.4.16-46.amzn2.0.5
php-embeddedAmazon Linux5.4.16-46.amzn2.0.5

Affected products

VendorProductVersions
n/an/an/a
amazon:2php-xmlrpc0
amazon:2php-recode0
amazon:2php-gd0
amazon:2php-embedded0
n/an/a*
amazon:2php-dba0
amazon:2php-common0
amazon:2php-intl0
amazon:2oniguruma-devel0
amazon:2php0
amazon:2php-mysqlnd0
amazon:2php-fpm0
alpinephp50
amazon:2php-bcmath0
amazon:2php-odbc0
amazon:2oniguruma0
amazon:2php-ldap0
amazon:2php-devel0
amazon:2php-snmp0

…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-9227
vulnetix vdb fixes CVE-2017-9227

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-9227/fixes/registry"

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

References

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