An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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 write in onigenc_unicode_get_case_fold_codes_by_str() occurs during regular expression compilation. Code point 0xFFFFFFFF is not properly handled in unicode_unfold_key(). A malformed regular expression could result in 4 bytes being written off the end of a stack buffer of expand_case_fold_string() during the call to onigenc_unicode_get_case_fold_codes_by_str(), a typical stack buffer overflow.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:* | 6.2.0 | Vulnerable | Oniguruma Project |
| cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:* | up to 7.1.5 | Vulnerable | PHP |
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:* | up to 2.4.1 | Vulnerable | ruby |
- cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:* Versions 6.2.0 Vulnerable ·Oniguruma Project
- cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:* Versions up to 7.1.5 Vulnerable ·PHP
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:* Versions up to 2.4.1 Vulnerable ·ruby
Remediation
Red Hat 1 advisory
- RHSA-2026:7545 Released 2026-04-10 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images oniguruma-6.9.10-4.1.hum1@aarch64, oniguruma-6.9.10-4.1.hum1@src, oniguruma-6.9.10-4.1.hum1@x86_64 +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| CloudForms Management Engine 5 | Affected | — |
| Red Hat Subscription Asset Manager | Affected | — |
| Red Hat Hardened Images | Fixed | RHSA-2026:7545 |
Not affected: 5 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat OpenShift Enterprise 2
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2017-9225
- 2026-10-03 Alias added: GHSA-24pf-h82m-5vvv
References
Sources
- CVE-2017-9225 · CVE Program
- CVE-2017-9225 · NVD
- FIRST EPSS
- GHSA-24pf-h82m-5vvv · GitHub Advisory Database · CC BY 4.0
- CVE-2017-9225 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences