CVE-2017-9227 Memory corruption in n/a
A stack out-of-bounds read in the Oniguruma regex library allows attackers to cause denial of service or disclose sensitive memory contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-9227?
CVE-2017-9227 is a critical memory corruption vulnerability in Php Php, published on 24 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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 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.
Weakness: CWE-125
Which versions are affected by CVE-2017-9227?
It affects 2 products.
Products include Oniguruma Project Oniguruma, Php Php.
How do I fix CVE-2017-9227?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2017-9227 being exploited?
There is no known exploitation of CVE-2017-9227 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as ALPINE-CVE-2017-9227, DEBIAN-CVE-2017-9227, GHSA-vpg4-mfvr-xc5c, UBUNTU-CVE-2017-9227.