CVE-2018-5816 Integer overflow in LibRaw
An attacker can cause a denial of service via division by zero in LibRaw by providing a specially crafted NOKIARAW file.
- 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-5816?
CVE-2018-5816 is a medium-severity 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 integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).
Weakness: CWE-190
Which versions are affected by CVE-2018-5816?
It affects 2 products.
Products include Canonical Ubuntu Linux, Libraw Libraw.
How do I fix CVE-2018-5816?
Upgrade to a fixed version.
Is CVE-2018-5816 being exploited?
There is no known exploitation of CVE-2018-5816 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-5816, GHSA-87cq-cch6-5ff8, UBUNTU-CVE-2018-5816.