CVE-2025-59050 Details
Description
Greenshot is an open source Windows screenshot utility. Greenshot 1.3.300 and earlier deserializes attacker-controlled data received in a WM_COPYDATA message using BinaryFormatter.Deserialize without prior validation or authentication, allowing a local process at the same integrity level to trigger arbitrary code execution inside the Greenshot process. The vulnerable logic resides in a WinForms WndProc handler for WM_COPYDATA (message 74) that copies the supplied bytes into a MemoryStream and invokes BinaryFormatter.Deserialize, and only afterward checks whether the specified channel is authorized. Because the authorization check occurs after deserialization, any gadget chain embedded in the serialized payload executes regardless of channel membership. A local attacker who can send WM_COPYDATA to the Greenshot main window can achieve in-process code execution, which may aid evasion of application control policies by running payloads within the trusted, signed Greenshot.exe process. This issue is fixed in version 1.3.301. No known workarounds exist.
A local code execution vulnerability has been identified in Greenshot, an open-source Windows screenshot utility, in versions through 1.3.300. The issue arises from the deserialization of attacker-controlled data in WM_COPYDATA messages using BinaryFormatter.Deserialize, without proper validation or authorization. This vulnerability allows a local process at the same integrity level to execute arbitrary code within the Greenshot process. The flaw exists in a WinForms WndProc handler for WM_COPYDATA, where the application first deserializes the data and only later checks if the channel is authorized. As a result, any embedded gadget chain in the serialized payload is executed regardless of channel membership. A local attacker capable of sending WM_COPYDATA to the Greenshot main window can exploit this for in-process code execution, potentially evading application control policies by running malicious payloads within the trusted Greenshot.exe process.
Users can upgrade to Greenshot version 1.3.301, which addresses this vulnerability by implementing a safety check for the BinaryFormatter deserialization when handling WM_COPYDATA messages.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/greenshot/greenshot/security/advisories/GHSA-8f7f-x7ww-xx5w | CISA-ADP | ExploitVendor Advisory |
| https://github.com/greenshot/greenshot/commit/f5a29a2ed3b0eb49231c0f4618300f488cf1b04d | [email protected] | Patch |
| https://github.com/greenshot/greenshot/security/advisories/GHSA-8f7f-x7ww-xx5w | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| getgreenshot greenshot | < 1.3.301 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2025 | Initial Analysis | [email protected] |
| Sep 16, 2025 | CVE Modified | CISA-ADP |
| Sep 16, 2025 | New CVE Received | [email protected] |