CVE-2018-7247 Memory corruption in n/a

Critical 9.8 Published Updated

A buffer overflow in Leptonica's HTML viewer allows attackers to execute arbitrary code via unsanitized input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-7247?

CVE-2018-7247 is a critical memory corruption vulnerability in n/a, published on 19 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in pixHtmlViewer in prog/htmlviewer.c in Leptonica before 1.75.3. Unsanitized input (rootname) can overflow a buffer, leading potentially to arbitrary code execution or possibly unspecified other impact.

Weakness: CWE-119

Which versions are affected by CVE-2018-7247?

It affects 1 product.

Products include Leptonica Leptonica.

How do I fix CVE-2018-7247?

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-2018-7247 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-7247, GHSA-29q2-994c-m8hr, UBUNTU-CVE-2018-7247, USN-5143-1.

Is CVE-2018-7247 in your software?

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

Check your SBOMs for free