CVE-2018-3848 Memory corruption in NASA CFITSIO
A stack-based buffer overflow in NASA CFITSIO 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-3848?
CVE-2018-3848 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 16 Apr 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
In the ffghbn function in NASA CFITSIO 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-3848?
It affects 2 products.
Products include Fedoraproject Fedora, Nasa Cfitsio.
How do I fix CVE-2018-3848?
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-3848 being exploited?
There is no known exploitation of CVE-2018-3848 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as CVE-2018-1000166, DEBIAN-CVE-2018-3848, GHSA-868x-9f95-m4c9, UBUNTU-CVE-2018-3848.