CVE-2021-26236 Memory corruption in n/a

High 7.8 Published Updated

A stack-based buffer overflow in FastStone Image Viewer allows attackers to execute arbitrary code via a specially crafted CUR file.

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
None listed

What is CVE-2021-26236?

CVE-2021-26236 is a high-severity memory corruption vulnerability in n/a, published on 18 Mar 2021. 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

FastStone Image Viewer v.<= 7.5 is affected by a Stack-based Buffer Overflow at 0x005BDF49, affecting the CUR file parsing functionality (BITMAPINFOHEADER Structure, 'BitCount' file format field), that will end up corrupting the Structure Exception Handler (SEH). Attackers could exploit this issue to achieve code execution when a user opens or views a malformed/specially crafted CUR file.

Weakness: CWE-787

Which versions are affected by CVE-2021-26236?

It affects 1 product.

Products include Faststone Image Viewer.

How do I fix CVE-2021-26236?

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

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

Is CVE-2021-26236 being exploited?

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

Sources

Also known as GHSA-h82r-pj6q-vp4f.

Is CVE-2021-26236 in your software?

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

Check your SBOMs for free