Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-9113: CWE-787: Out-of-bounds Write in FastStone Image Viewer

0
High
VulnerabilityCVE-2024-9113cvecve-2024-9113cwe-787
Published: Fri Nov 22 2024 (11/22/2024, 21:33:54 UTC)
Source: CVE Database V5
Vendor/Project: FastStone
Product: Image Viewer

Description

FastStone Image Viewer TGA File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FastStone Image Viewer. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of TGA files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-25140.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 16:39:44 UTC

Technical Analysis

CVE-2024-9113 is a remote code execution vulnerability identified in FastStone Image Viewer version 7.8, related to an out-of-bounds write condition during the parsing of TGA (Targa) image files. The root cause is a lack of proper validation of user-supplied data within the TGA file parser, which allows an attacker to write data beyond the allocated buffer boundaries. This memory corruption can be exploited to execute arbitrary code with the privileges of the user running the application. The attack vector requires user interaction, such as opening a maliciously crafted TGA file or visiting a web page that triggers the viewer to process such a file. The vulnerability is classified under CWE-787 (Out-of-bounds Write) and has a CVSS v3.0 base score of 7.8, indicating high severity. The CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) shows that the attack requires local access or user interaction but no privileges or authentication, and can lead to high impact on confidentiality, integrity, and availability. No patches or official fixes are currently linked, and no exploits have been reported in the wild, but the risk remains significant due to the potential for remote code execution.

Potential Impact

The impact of CVE-2024-9113 is substantial for organizations using FastStone Image Viewer 7.8, especially in environments where users frequently open TGA files from untrusted sources. Successful exploitation enables attackers to execute arbitrary code, potentially leading to full system compromise under the context of the logged-in user. This can result in data theft, installation of malware, lateral movement within networks, and disruption of services. Since the vulnerability affects confidentiality, integrity, and availability, organizations face risks including data breaches, operational downtime, and reputational damage. The requirement for user interaction limits mass exploitation but targeted attacks against high-value users or systems remain a critical concern. The absence of known exploits in the wild provides a window for proactive mitigation, but the high CVSS score underscores the urgency for remediation.

Mitigation Recommendations

To mitigate CVE-2024-9113, organizations should first verify if FastStone Image Viewer version 7.8 is deployed within their environment and restrict its use where possible. Since no official patch is currently available, consider the following specific actions: 1) Disable or restrict the opening of TGA files within the application or through associated file handlers. 2) Implement application whitelisting to prevent unauthorized execution of FastStone Image Viewer or untrusted files. 3) Employ endpoint detection and response (EDR) solutions to monitor for suspicious behavior related to image file processing. 4) Educate users to avoid opening TGA files from untrusted or unknown sources and to be cautious with unsolicited files or links. 5) Use network-level controls to block or monitor file downloads of TGA images from untrusted websites. 6) Consider sandboxing or running FastStone Image Viewer in a restricted environment to limit the impact of potential exploitation. 7) Monitor vendor communications for patches or updates addressing this vulnerability and apply them promptly once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
zdi
Date Reserved
2024-09-23T18:14:23.159Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 699f6b3fb7ef31ef0b54fbd1

Added to database: 2/25/2026, 9:35:59 PM

Last enriched: 2/27/2026, 4:39:44 PM

Last updated: 4/12/2026, 12:50:02 AM

Views: 15

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses