CVE-2026-30040
Deferred Deferred - Pending Action

Heap Overflow in FastStone Image Viewer via JPEG 2000 File

Vulnerability report for CVE-2026-30040, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-26

Last updated on: 2026-06-26

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-26
Last Modified
2026-06-26
Generated
2026-07-16
AI Q&A
2026-06-26
EPSS Evaluated
2026-07-15
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
faststone faststone_image_viewer 8.3

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a heap overflow in the FSViewer.exe process of FastStone Image Viewer version 8.3. It occurs when the software processes a specially crafted JPEG 2000 (JP2) file. By exploiting this flaw, an attacker can execute arbitrary code within the context of the current process.

Detection Guidance

This vulnerability is triggered by processing a specially crafted JPEG 2000 (JP2) file in FastStone Image Viewer v8.3. Detection involves identifying attempts to open or process such malicious JP2 files with the vulnerable FSViewer.exe process.

Since the vulnerability is local to the application processing crafted files, network detection may be limited to monitoring for suspicious JP2 file transfers or downloads.

Suggested detection commands include:

  • Monitoring file creation or access of JP2 files in directories where FastStone Image Viewer is used, for example using Windows PowerShell:
  • Get-ChildItem -Path C:\Path\To\Watch -Filter *.jp2 -Recurse | Select-Object FullName, LastAccessTime
  • Using process monitoring tools like Sysinternals Process Monitor to filter FSViewer.exe activity related to JP2 files.
  • On a network level, inspecting file downloads for JP2 files using network monitoring tools or IDS/IPS with signatures for suspicious JP2 files.

No specific detection commands or signatures are provided in the available resources.

Impact Analysis

Exploitation of this vulnerability can allow an attacker to run arbitrary code on your system with the same privileges as the FastStone Image Viewer process. This could lead to unauthorized actions such as installing malware, stealing data, or causing the application to crash.

Compliance Impact

The provided context and resources do not contain information regarding the impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Mitigation Strategies

To mitigate the vulnerability in FastStone Image Viewer v8.3 related to heap overflow via crafted JPEG 2000 files, immediate steps include avoiding opening untrusted or suspicious JPEG 2000 (JP2) files with the affected software.

Additionally, consider running the software under a limited local user account to reduce the impact of potential exploitation.

Since no patch or update information is provided for this specific vulnerability, restricting file downloads from untrusted sources and exercising caution when handling image files is recommended.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-30040. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart