CVE-2017-9229 Null dereference in n/a

High 7.5 Published Updated

A null pointer dereference in the Oniguruma library allows attackers to cause a denial of service via crafted regular expressions.

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-9229?

CVE-2017-9229 is a high-severity 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 SIGSEGV occurs in left_adjust_char_head() during regular expression compilation. Invalid handling of reg->dmax in forward_search_range() could result in an invalid pointer dereference, normally as an immediate denial-of-service condition.

Weakness: CWE-476

Which versions are affected by CVE-2017-9229?

It affects 3 products.

Products include Oniguruma Project Oniguruma, Php Php, Ruby-Lang Ruby.

How do I fix CVE-2017-9229?

Upgrade to a fixed version.

Is CVE-2017-9229 being exploited?

There is no known exploitation of CVE-2017-9229 in the wild and no public exploit code.

All Php Php vulnerabilities

Sources

Also known as ALPINE-CVE-2017-9229, CLSA-2026-1781529077, DEBIAN-CVE-2017-9229, GHSA-28pc-jv2f-hv8j, UBUNTU-CVE-2017-9229.

Is CVE-2017-9229 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free