CVE-2018-5800 Memory corruption in LibRaw
An off-by-one error in LibRaw allows attackers to trigger a heap-based buffer overflow and crash the application via crafted 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-5800?
CVE-2018-5800 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 off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.7 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash.
Which versions are affected by CVE-2018-5800?
It affects 6 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Libraw Libraw, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation.
How do I fix CVE-2018-5800?
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-5800 being exploited?
There is no known exploitation of CVE-2018-5800 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-5800, GHSA-5qjx-g7m8-vp5f, UBUNTU-CVE-2018-5800.