CVE-2017-9224 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-9224?
CVE-2017-9224 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 match_at() during regular expression searching. A logical error involving order of validation and access in match_at() could result in an out-of-bounds read from a stack buffer.
Weakness: CWE-125
Which versions are affected by CVE-2017-9224?
It affects 2 products.
Products include Oniguruma Project Oniguruma, Php Php.
How do I fix CVE-2017-9224?
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-9224 being exploited?
There is no known exploitation of CVE-2017-9224 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as ALPINE-CVE-2017-9224, DEBIAN-CVE-2017-9224, GHSA-r2wq-r394-96mf, UBUNTU-CVE-2017-9224.