CVE-2018-5808 Memory corruption in LibRaw
A stack-based buffer overflow in LibRaw allows attackers to execute arbitrary code via crafted image files.
- 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-5808?
CVE-2018-5808 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 7 Dec 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
An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.
Weakness: CWE-787
Which versions are affected by CVE-2018-5808?
It affects 2 products.
Products include Debian Debian Linux, Libraw Libraw.
How do I fix CVE-2018-5808?
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-5808 being exploited?
There is no known exploitation of CVE-2018-5808 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2018-5808, GHSA-w62w-xxmq-vqhx, UBUNTU-CVE-2018-5808.