CVE-2026-30040

Heap Overflow in FastStone Image Viewer v8.3 Enables Arbitrary Code Execution via Malicious JP2 File

Published Jun 26, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A heap overflow in the FSViewer.exe process of FastStone Image Viewer v8.3 allows an attacker to supply a crafted JPEG 2000 (JP2) file and cause execution of arbitrary code in the context of the current process. The vulnerability is a classic buffer overflow on the heap and would let the attacker run malicious code with the same permissions as the user opening the image, potentially compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

FastStone Image Viewer version 8.3 is the only affected product listed. No additional releases or vendors are mentioned, indicating the flaw is confined to this specific product and version.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting the current exploitation risk is low but not impossible. The attack vector requires user interaction with a malicious JP2 file; an attacker must entice a user to open the crafted image. If exploited, the flaw would provide high‑severity arbitrary code execution with user privileges. Until an official patch or update is released, the risk remains moderate due to the need for a crafted file and user action.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check the FastStone website or the vendor’s support portal for an updated release that includes the heap overflow fix.
  • While a patch is pending, deny or delete any untrusted JPEG 2000 files from the system, or so the viewer cannot open JP2 files until the vulnerability is addressed.
  • If the viewer must be used, run it under the least‑privilege user account or in a sandboxed environment so that any code executed from a malicious image is contained.

Generated by OpenCVE AI on June 26, 2026 at 17:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Faststone
Faststone faststone Image Viewer
Vendors & Products Faststone
Faststone faststone Image Viewer
Type Values Removed Values Added
Title Heap Overflow in FastStone Image Viewer v8.3 Enables Arbitrary Code Execution via Malicious JP2 File
Type Values Removed Values Added
Weaknesses CWE-122
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 26, 2026, 4:05 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Deferred
Published
Jun 26, 2026, 3:16 PM
Modified
Jun 26, 2026, 8:24 PM