CVE-2024-9112: CWE-787: Out-of-bounds Write in FastStone Image Viewer
FastStone Image Viewer PSD 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 PSD 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 object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-25102.
AI Analysis
Technical Summary
CVE-2024-9112 is a remote code execution vulnerability classified under CWE-787 (Out-of-bounds Write) affecting FastStone Image Viewer version 7.8. The vulnerability is triggered during the parsing of PSD (Photoshop Document) files, where the application fails to properly validate user-supplied data. This improper validation leads to a write operation beyond the allocated memory buffer, causing memory corruption. An attacker can craft a malicious PSD file that, when opened by a user in the vulnerable FastStone Image Viewer, results in arbitrary code execution within the context of the application process. The vulnerability requires user interaction, such as opening a malicious file or visiting a malicious webpage that triggers the file opening. No privileges or authentication are required for exploitation, increasing the attack surface. The CVSS v3.0 score is 7.8, indicating high severity with high impact on confidentiality, integrity, and availability. Although no public exploits are currently known, the vulnerability was assigned by the Zero Day Initiative (ZDI) as ZDI-CAN-25102, highlighting its seriousness. The lack of a patch at the time of disclosure necessitates immediate mitigation efforts by affected users and organizations.
Potential Impact
The impact of CVE-2024-9112 is significant for organizations worldwide that use FastStone Image Viewer 7.8, especially in environments where PSD files are commonly handled, such as graphic design, media production, and marketing sectors. Successful exploitation allows attackers to execute arbitrary code, potentially leading to full compromise of the affected system under the privileges of the user running the application. This can result in data theft, installation of malware, lateral movement within networks, and disruption of services. Since the vulnerability requires user interaction, phishing or social engineering campaigns could be used to deliver malicious PSD files. The high impact on confidentiality, integrity, and availability makes this a critical risk for organizations that rely on FastStone Image Viewer for image processing. Additionally, the absence of known exploits in the wild currently provides a window for proactive defense, but the risk of future exploitation remains high.
Mitigation Recommendations
1. Immediately restrict the use of FastStone Image Viewer 7.8 for opening PSD files until a vendor patch is released. 2. Implement strict file handling policies that block or quarantine PSD files from untrusted sources, especially in email attachments and web downloads. 3. Educate users about the risks of opening unsolicited or suspicious image files and the importance of verifying file sources. 4. Employ application whitelisting and sandboxing techniques to limit the execution context and potential damage of exploited applications. 5. Monitor network and endpoint activity for unusual behavior indicative of exploitation attempts, such as unexpected process launches or memory corruption indicators. 6. Maintain up-to-date backups and incident response plans to quickly recover from potential compromises. 7. Once available, promptly apply official patches from FastStone to remediate the vulnerability. 8. Consider using alternative, more secure image viewers that have robust security track records until this issue is resolved.
Affected Countries
United States, China, Germany, United Kingdom, France, Japan, South Korea, Canada, Australia, India
CVE-2024-9112: CWE-787: Out-of-bounds Write in FastStone Image Viewer
Description
FastStone Image Viewer PSD 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 PSD 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 object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-25102.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-9112 is a remote code execution vulnerability classified under CWE-787 (Out-of-bounds Write) affecting FastStone Image Viewer version 7.8. The vulnerability is triggered during the parsing of PSD (Photoshop Document) files, where the application fails to properly validate user-supplied data. This improper validation leads to a write operation beyond the allocated memory buffer, causing memory corruption. An attacker can craft a malicious PSD file that, when opened by a user in the vulnerable FastStone Image Viewer, results in arbitrary code execution within the context of the application process. The vulnerability requires user interaction, such as opening a malicious file or visiting a malicious webpage that triggers the file opening. No privileges or authentication are required for exploitation, increasing the attack surface. The CVSS v3.0 score is 7.8, indicating high severity with high impact on confidentiality, integrity, and availability. Although no public exploits are currently known, the vulnerability was assigned by the Zero Day Initiative (ZDI) as ZDI-CAN-25102, highlighting its seriousness. The lack of a patch at the time of disclosure necessitates immediate mitigation efforts by affected users and organizations.
Potential Impact
The impact of CVE-2024-9112 is significant for organizations worldwide that use FastStone Image Viewer 7.8, especially in environments where PSD files are commonly handled, such as graphic design, media production, and marketing sectors. Successful exploitation allows attackers to execute arbitrary code, potentially leading to full compromise of the affected system under the privileges of the user running the application. This can result in data theft, installation of malware, lateral movement within networks, and disruption of services. Since the vulnerability requires user interaction, phishing or social engineering campaigns could be used to deliver malicious PSD files. The high impact on confidentiality, integrity, and availability makes this a critical risk for organizations that rely on FastStone Image Viewer for image processing. Additionally, the absence of known exploits in the wild currently provides a window for proactive defense, but the risk of future exploitation remains high.
Mitigation Recommendations
1. Immediately restrict the use of FastStone Image Viewer 7.8 for opening PSD files until a vendor patch is released. 2. Implement strict file handling policies that block or quarantine PSD files from untrusted sources, especially in email attachments and web downloads. 3. Educate users about the risks of opening unsolicited or suspicious image files and the importance of verifying file sources. 4. Employ application whitelisting and sandboxing techniques to limit the execution context and potential damage of exploited applications. 5. Monitor network and endpoint activity for unusual behavior indicative of exploitation attempts, such as unexpected process launches or memory corruption indicators. 6. Maintain up-to-date backups and incident response plans to quickly recover from potential compromises. 7. Once available, promptly apply official patches from FastStone to remediate the vulnerability. 8. Consider using alternative, more secure image viewers that have robust security track records until this issue is resolved.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- zdi
- Date Reserved
- 2024-09-23T18:14:14.526Z
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 699f6b3fb7ef31ef0b54fbce
Added to database: 2/25/2026, 9:35:59 PM
Last enriched: 2/27/2026, 4:39:32 PM
Last updated: 4/11/2026, 8:50:26 PM
Views: 18
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.