Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2017-9227

33
FAUCET Score

CVE-2017-9227 is a critical stack out-of-bounds read vulnerability in Oniguruma 6.2.0, affecting Ruby through 2.4.1 and PHP through 7.1.5. This flaw, specifically in the mbc_enc_len() function during regular expression searching, can lead to an invalid pointer dereference due to improper handling of reg->dmin in forward_search_range(). With a CVSS score of 9.8 (CRITICAL), this vulnerability is remotely exploitable with low attack complexity, potentially leading to complete compromise of confidentiality, integrity, and availability. Despite its severity, there is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
6.2.0CPE matchmatch criteria
cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*
>= 5.6.0, < 5.6.31CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.0.21CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.1.0, < 7.1.7CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
6.49%
Probability of exploitation in next 30 days
EPSS Percentile
93.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0649 is in the 87th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (23)

github_advisorypatch availablevia nvd_reference
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSFixed in: rh-php70-php-0:7.0.27-1.el6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 6Fixed in: rh-php70-php-0:7.0.27-1.el6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSFixed in: rh-php70-php-0:7.0.27-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSFixed in: rh-php70-php-0:7.0.27-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSFixed in: rh-php70-php-0:7.0.27-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-php70-php-0:7.0.27-1.el7
View patch
redhatvendor investigatingvia redhat_api
Product: Red Hat Subscription Asset ManagerFixed in: ruby193-ruby
redhatvendor investigatingvia redhat_api
Product: CloudForms Management Engine 5Fixed in: rh-ruby22-ruby
redhatvendor investigatingvia redhat_api
Product: CloudForms Management Engine 5Fixed in: ruby-200-ruby
redhatvendor investigatingvia redhat_api
Product: Red Hat OpenShift Enterprise 2Fixed in: php
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: ruby
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: oniguruma
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: php
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: ruby
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: php
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: ruby
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: php
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-php56-php
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-ruby22-ruby
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-ruby23-ruby
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-ruby24-ruby
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: php53

Vendor Advisories (1)

redhatCVE-2017-9227Moderate

oniguruma: Out-of-bounds stack read in mbc_enc_len() during regular expression searching

May 23, 2017

References

access.redhat.com / errata/RHSA-2018:1296
Third Party Advisory
github.com / kkos/oniguruma/commit/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814
PatchThird Party Advisory
github.com / kkos/oniguruma/issues/58
ExploitIssue TrackingPatchThird Party Advisory
securityfocus.com / bid/100538
Third Party AdvisoryVDB Entry