CVE-2018-20365 Memory corruption in n/a

Medium 6.5 Published Updated

A heap-based buffer overflow in LibRaw allows attackers to execute arbitrary code or cause denial of service 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-20365?

CVE-2018-20365 is a medium-severity memory corruption vulnerability in Libraw Libraw, published on 22 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

LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.

Weakness: CWE-787

Which versions are affected by CVE-2018-20365?

It affects 1 product.

Products include Libraw Libraw.

How do I fix CVE-2018-20365?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-20365 being exploited?

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

All Libraw Libraw vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-20365, GHSA-522g-34pj-rxpr, UBUNTU-CVE-2018-20365.

Is CVE-2018-20365 in your software?

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

Check your SBOMs for free