CVE-2018-5811 Memory corruption in LibRaw
An out-of-bounds read in LibRaw allows attackers to cause a crash via crafted Nikon Coolscan files, impacting applications using the library.
- 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-5811?
CVE-2018-5811 is a medium-severity memory corruption vulnerability in Canonical Ubuntu 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 "nikon_coolscan_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
Weakness: CWE-125
Which versions are affected by CVE-2018-5811?
It affects 2 products.
Products include Canonical Ubuntu Linux, Libraw Libraw.
How do I fix CVE-2018-5811?
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-5811 being exploited?
There is no known exploitation of CVE-2018-5811 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-5811, GHSA-3mgm-63xg-j4r3, UBUNTU-CVE-2018-5811.