CVE-2021-40262 Denial of service in n/a

Medium 6.5 Published Updated

A stack exhaustion vulnerability in FreeImage allows attackers to cause a denial of service via crafted RAW 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
None listed

What is CVE-2021-40262?

CVE-2021-40262 is a medium-severity denial of service 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 stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Weakness: CWE-787

Which versions are affected by CVE-2021-40262?

It affects 1 product.

Products include Freeimage Project Freeimage.

How do I fix CVE-2021-40262?

No fix has been published for CVE-2021-40262 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-40262 being exploited?

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

All Freeimage Project Freeimage vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-40262, GHSA-ffv6-g99g-rj96, UBUNTU-CVE-2021-40262.

Is CVE-2021-40262 in your software?

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

Check your SBOMs for free