CVE-2017-8786 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer overflow in PCRE2 allows remote attackers to cause denial of service or potentially execute code 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-8786?

CVE-2017-8786 is a critical memory corruption vulnerability in n/a, published on 5 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression.

Weakness: CWE-119

Which versions are affected by CVE-2017-8786?

It affects 1 product.

Products include Pcre Pcre2.

How do I fix CVE-2017-8786?

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-8786 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-8786, GHSA-5w9f-5949-m2r9, UBUNTU-CVE-2017-8786.

Is CVE-2017-8786 in your software?

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

Check your SBOMs for free