CVE-2018-3849 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-3849?
CVE-2018-3849 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 ffghtb 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-3849?
It affects 2 products.
Products include Fedoraproject Fedora, Nasa Cfitsio.
How do I fix CVE-2018-3849?
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-3849 being exploited?
There is no known exploitation of CVE-2018-3849 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2018-3849, GHSA-qc33-hp9r-f794, UBUNTU-CVE-2018-3849.