CVE-2017-9227: Critical severity PHP PHP vulnerability

Published May 23, 2017
·
Updated

Add oniguruma upstream fix (CVE-2017-9224, CVE-2017-9226, CVE-2017-9227, CVE-2017-9228, CVE-2017-9229)

Other sources

An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod i ...

Debian

Affected Software

12 affected componentsFixes available
redhat/rh-php70-php<0:7.0.27-1.el6
0:7.0.27-1.el6
redhat/rh-php70-php<0:7.0.27-1.el7
0:7.0.27-1.el7
redhat/oniguruma<6.3.0
6.3.0
redhat/php<5.6.31
5.6.31
redhat/php<7.0.21
7.0.21
redhat/php<7.1.7
7.1.7
PHP PHP<7.0.21
7.0.21
Oniguruma Project Oniguruma=6.2.0
PHP PHP>=5.6.0<5.6.31
PHP PHP>=7.0.0<7.0.21
PHP PHP>=7.1.0<7.1.7
debian/libonig
6.9.6-1.16.9.8-16.9.9-1

Event History

May 23, 2017
CVE Published
12:00 AM
May 24, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:42 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:23 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2017-9227?

CVE-2017-9227 is a vulnerability in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5, which allows a stack out-of-bounds read during regular expression searching, resulting in a denial of service or potentially more severe consequences.

2

How severe is CVE-2017-9227?

CVE-2017-9227 has a severity rating of 9.8 out of 10, making it a critical vulnerability.

3

What software is affected by CVE-2017-9227?

CVE-2017-9227 affects Oniguruma 6.2.0, Oniguruma-mod in Ruby through 2.4.1, and mbstring in PHP through 7.1.5.

4

How do I fix CVE-2017-9227?

To fix CVE-2017-9227, update Oniguruma to version 6.3.0.

5

Where can I find more information about CVE-2017-9227?

You can find more information about CVE-2017-9227 at the following references: [Reference 1](https://github.com/kkos/oniguruma/issues/58), [Reference 2](https://github.com/kkos/oniguruma/commit/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814), [Reference 3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1466750)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203