CVE-2018-5801 Null dereference in LibRaw

Medium 6.5 Published Updated

A NULL pointer dereference in LibRaw allows attackers to cause a denial of service 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-5801?

CVE-2018-5801 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 error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Weakness: CWE-476

Which versions are affected by CVE-2018-5801?

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-5801?

Upgrade to a fixed version.

Is CVE-2018-5801 being exploited?

There is no known exploitation of CVE-2018-5801 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-5801, GHSA-chvh-r3pc-vjf8, MGASA-2019-0017, UBUNTU-CVE-2018-5801.

Is CVE-2018-5801 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free