CVE-2020-21427 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via a crafted image file exploiting a buffer overflow in the FreeImage library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-21427?

CVE-2020-21427 is a high-severity memory corruption vulnerability in Freeimage Project Freeimage, published on 22 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Buffer Overflow vulnerability in function LoadPixelDataRLE8 in PluginBMP.cpp in FreeImage 3.18.0 allows remote attackers to run arbitrary code and cause other impacts via crafted image file.

Weakness: CWE-120

Which versions are affected by CVE-2020-21427?

It affects 1 product.

Products include Freeimage Project Freeimage.

How do I fix CVE-2020-21427?

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-21427 being exploited?

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

All Freeimage Project Freeimage vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-21427, GHSA-xjvv-5w4r-hfmv, UBUNTU-CVE-2020-21427.

Is CVE-2020-21427 in your software?

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

Check your SBOMs for free