CVE-2018-3847 Memory corruption in CFITSIO

High 8.8 Published Updated

A stack-based buffer overflow in the CFITSIO library allows attackers to execute arbitrary code via specially crafted FIT images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-3847?

CVE-2018-3847 is a high-severity memory corruption vulnerability in NASA CFITSIO, published on 1 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Multiple exploitable buffer overflow vulnerabilities exist in image parsing functionality of the CFITSIO library version 3.42. Specially crafted images parsed via the library, can cause a stack-based buffer overflow overwriting arbitrary data. An attacker can deliver an FIT image to trigger this vulnerability and potentially gain code execution.

Weakness: CWE-787

Which versions are affected by CVE-2018-3847?

It affects 1 product.

Products include Nasa Cfitsio.

How do I fix CVE-2018-3847?

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

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

Sources

Also known as DEBIAN-CVE-2018-3847, GHSA-962f-cm8q-5q3r, UBUNTU-CVE-2018-3847.

Is CVE-2018-3847 in your software?

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

Check your SBOMs for free