CVE-2020-24870 Memory corruption in n/a

High 8.8 Published Updated

A stack buffer overflow in Libraw allows attackers to execute arbitrary code or cause denial of service via crafted DNG 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-2020-24870?

CVE-2020-24870 is a high-severity memory corruption vulnerability in Libraw Libraw, published on 2 Jun 2021. 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 before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.

Weakness: CWE-787

Which versions are affected by CVE-2020-24870?

It affects 1 product.

Products include Libraw Libraw.

How do I fix CVE-2020-24870?

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-2020-24870 being exploited?

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

All Libraw Libraw vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-24870, GHSA-p736-65cp-9pj8, UBUNTU-CVE-2020-24870.

Is CVE-2020-24870 in your software?

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

Check your SBOMs for free