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.
References
Link | Resource |
---|---|
https://github.com/greenshot/greenshot/commit/f5a29a2ed3b0eb49231c0f4618300f488cf1b04d | Patch |
https://github.com/greenshot/greenshot/security/advisories/GHSA-8f7f-x7ww-xx5w | Vendor Advisory Exploit |
https://github.com/greenshot/greenshot/security/advisories/GHSA-8f7f-x7ww-xx5w | Vendor Advisory Exploit |
Configurations
History
02 Oct 2025, 18:54
Type | Values Removed | Values Added |
---|---|---|
First Time |
Getgreenshot
Getgreenshot greenshot |
|
CPE | cpe:2.3:a:getgreenshot:greenshot:*:*:*:*:*:*:*:* | |
References | () https://github.com/greenshot/greenshot/commit/f5a29a2ed3b0eb49231c0f4618300f488cf1b04d - Patch | |
References | () https://github.com/greenshot/greenshot/security/advisories/GHSA-8f7f-x7ww-xx5w - Vendor Advisory, Exploit |
16 Sep 2025, 19:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/greenshot/greenshot/security/advisories/GHSA-8f7f-x7ww-xx5w - |
16 Sep 2025, 17:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-09-16 17:15
Updated : 2025-10-02 18:54
NVD link : CVE-2025-59050
Mitre link : CVE-2025-59050
CVE.ORG link : CVE-2025-59050
JSON object : View
Products Affected
getgreenshot
- greenshot
CWE
CWE-502
Deserialization of Untrusted Data