CVE-2017-7245 Memory corruption in n/a

High 7.8 Published Updated

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

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

CVE-2017-7245 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 4) or possibly have unspecified other impact via a crafted file.

Weakness: CWE-119

Which versions are affected by CVE-2017-7245?

It affects 1 product.

Products include Pcre Pcre.

How do I fix CVE-2017-7245?

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

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

Sources

Also known as ALPINE-CVE-2017-7245, DEBIAN-CVE-2017-7245, GHSA-c68h-v9j2-9jjh.

Is CVE-2017-7245 in your software?

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

Check your SBOMs for free