cbcvebase.
CVE-2017-9227
published 2017-05-24

CVE-2017-9227: 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…

PriorityP347critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
6.26%
92.7th percentile
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.

Affected

6 ranges
VendorProductVersion rangeFixed in
debianlibonig< libonig 6.1.3-2 (bookworm)libonig 6.1.3-2 (bookworm)
oniguruma_projectoniguruma
phpphp>= 5.6.0 < 5.6.315.6.31
phpphp>= 7.0.0 < 7.0.217.0.21
phpphp>= 7.1.0 < 7.1.77.1.7
php5php5>= 0 < 5.5.9+dfsg-1ubuntu4.225.5.9+dfsg-1ubuntu4.22

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.