CVE-2017-7246 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can cause denial of service or potentially execute code via a crafted file due to a stack-based buffer overflow in the PCRE library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-7246?

CVE-2017-7246 is a high-severity memory corruption vulnerability in n/a, published on 23 Mar 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Stack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (WRITE of size 268) or possibly have unspecified other impact via a crafted file.

Weakness: CWE-119

Which versions are affected by CVE-2017-7246?

It affects 1 product.

Products include Pcre Pcre.

How do I fix CVE-2017-7246?

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

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

Sources

Also known as ALPINE-CVE-2017-7246, DEBIAN-CVE-2017-7246, GHSA-3fjr-mgxw-wcwm.

Is CVE-2017-7246 in your software?

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

Check your SBOMs for free