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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2017-05-24T15:00:00

Updated: 2024-08-05T17:02:44.162Z

Reserved: 2017-05-24T00:00:00

Link: CVE-2017-9227

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2017-05-24T15:29:00.323

Modified: 2022-07-20T16:34:01.827

Link: CVE-2017-9227

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-05-23T00:00:00Z

Links: CVE-2017-9227 - Bugzilla