CVE-2017-16231 Denial of service in n/a

Medium 5.5 Published Updated

A self-recursive call in PCRE's match function causes a stack overflow crash, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-16231?

CVE-2017-16231 is a medium-severity denial of service vulnerability in n/a, published on 17 Mar 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In PCRE 8.41, after compiling, a pcretest load test PoC produces a crash overflow in the function match() in pcre_exec.c because of a self-recursive call. NOTE: third parties dispute the relevance of this report, noting that there are options that can be used to limit the amount of stack that is used

Weakness: CWE-119

Which versions are affected by CVE-2017-16231?

It affects 1 product.

Products include Pcre Pcre.

How do I fix CVE-2017-16231?

No fix published yet.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-16231 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-16231 exists.

Sources

Also known as ALPINE-CVE-2017-16231, DEBIAN-CVE-2017-16231, GHSA-5hhr-8qw3-63p2.

Is CVE-2017-16231 in your software?

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

Check your SBOMs for free