CVE-2017-9226
Summary
| CVE | CVE-2017-9226 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-05-24 15:29:00 UTC |
| Updated | 2022-07-20 16:38:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Oniguruma Multiple Memory Corruption Vulnerabilities |
BID |
www.securityfocus.com |
|
| fix #55 : Byte value expressed in octal must be smaller than 256 · kkos/oniguruma@f015fbd · GitHub |
CONFIRM |
github.com |
Patch, Third Party Advisory |
| Red Hat Customer Portal |
REDHAT |
access.redhat.com |
|
| Heap corruption in next_state_val() in 15 encodings · Issue #55 · kkos/oniguruma · GitHub |
CONFIRM |
github.com |
Exploit, Third Party Advisory |
| fix #55 : check too big code point value for single byte value in nex… · kkos/oniguruma@b4bf968 · GitHub |
CONFIRM |
github.com |
Patch, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 356443 Amazon Linux Security Advisory for oniguruma : ALAS2-2023-2311
- 356983 Amazon Linux Security Advisory for oniguruma : AL2012-2023-467