CVE-2026-30040 Memory corruption in n/a

Medium 6.5 Published Updated

Attackers can execute arbitrary code by tricking users into opening a crafted JPEG 2000 file in FastStone Image Viewer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-30040?

CVE-2026-30040 is a medium-severity memory corruption vulnerability in n/a, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A heap overflow in the FSViewer.exe process of FastStone Image Viewer v8.3 allows attackers to cause a execute arbitrary code in the context of the current process via supplying a crafted JPEG 2000 (JP2) file.

Weakness: CWE-122

Which versions are affected by CVE-2026-30040?

How do I fix CVE-2026-30040?

No fix has been published for CVE-2026-30040 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-2026-30040 being exploited?

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

Sources

Also known as GHSA-74rp-5fx4-84m7.

Is CVE-2026-30040 in your software?

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

Check your SBOMs for free