CVE-2021-40263 Memory corruption in n/a

High 8.8 Published Updated

A heap overflow in FreeImage allows attackers to execute arbitrary code or cause denial of service via crafted TIFF 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-2021-40263?

CVE-2021-40263 is a high-severity memory corruption vulnerability in Freeimage Project Freeimage, published on 22 Aug 2023. 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

A heap overflow vulnerability in FreeImage 1.18.0 via the ofLoad function in PluginTIFF.cpp.

Weakness: CWE-787

Which versions are affected by CVE-2021-40263?

It affects 1 product.

Products include Freeimage Project Freeimage.

How do I fix CVE-2021-40263?

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-2021-40263 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-40263 exists.

All Freeimage Project Freeimage vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-40263, GHSA-jpj5-vg69-hf8v, UBUNTU-CVE-2021-40263.

Is CVE-2021-40263 in your software?

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

Check your SBOMs for free