Greenshot
CVE-2025-59050
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun process at matching integrity level
-
DeliveryCraft malicious BinaryFormatter gadget payload
-
ExploitSend WM_COPYDATA (msg 74) to Greenshot window
-
ExecutionDeserialize executes before channel check
-
ImpactArbitrary code runs inside signed Greenshot.exe
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the attacker to already control a local process running at the SAME integrity level as Greenshot on the same Windows host, able to send a WM_COPYDATA message (Windows message 74) to the Greenshot main window. This affects default configurations of Greenshot 1.3.300 and earlier with no special feature toggle needed - the flaw is in the standard CopyData WndProc handler. Limiting factors: no network vector (local only), no remote/unauthenticated path, and the channel authorization check (though performed too late to prevent the deserialization) plus the same-integrity-level requirement mean this cannot be used for privilege escalation across integrity boundaries; its primary leverage is in-process execution within the signed binary for application-control evasion. Fixed in 1.3.301; no workarounds exist. |
| Impact | This is a genuine but access-gated code-execution flaw rather than a mass-exploitation priority. The CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8 HIGH) is internally consistent with the description: exploitation is LOCAL (AV:L) and requires an attacker-controlled process running at the same integrity level as Greenshot (reflected as PR:L), which is why it is not scored network-exploitable. EPSS is low at 0.25% (48th percentile), and the vulnerability is NOT on the CISA KEV list, so there is no evidence of active exploitation. Publicly available exploit code exists (GitHub Security Advisory GHSA-8f7f-x7ww-xx5w), but POC availability is a distinct signal from in-the-wild use and should not be conflated with it. No SSVC decision data was provided in the input. The signals are mutually consistent - a real, patch-worthy local privilege/evasion issue with high technical impact but a meaningful access precondition and low real-world exploitation probability - so this is a 'patch in normal cadence' item, not an emergency, for most environments. The most notable real-world value is defense-evasion (running a payload inside the trusted, signed Greenshot.exe to bypass application-control policies) rather than initial compromise. |
| Exploit ScenarioDerived | An attacker who has already gained the ability to run code locally at the same integrity level as Greenshot sends a crafted WM_COPYDATA message (message 74) to the Greenshot main window; the handler copies the bytes into a MemoryStream and calls BinaryFormatter.Deserialize before performing any channel authorization check, so an embedded gadget chain executes inside Greenshot.exe. A public exploit/advisory (GHSA-8f7f-x7ww-xx5w) exists. Because the vector is local (AV:L) with low complexity (AC:L), this is a post-foothold technique for code execution and application-control evasion, not a remote entry point. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Local code execution in Greenshot 1.3.300 and earlier lets a process running at the same Windows integrity level execute arbitrary code inside the trusted, signed Greenshot.exe by sending a crafted WM_COPYDATA message that is deserialized with BinaryFormatter before channel authorization. Publicly available exploit code exists, but exploitation is local-only and cannot cross integrity boundaries, so the primary risk is application-control evasion rather than privilege escalation; EPSS is low at 0.25% and there is no KEV designation.
Earlier versions of this analysis (1)
Greenshot is an open source Windows screenshot utility. Rated high severity (CVSS 8.4), this vulnerability is no authentication required, low attack complexity. Public exploit code available.
RemediationAI
Upgrade to Greenshot 1.3.301, which introduces an allow-list SerializationBinder for WM_COPYDATA payloads; vendor references are the advisory https://github.com/greenshot/greenshot/security/advisories/GHSA-8f7f-x7ww-xx5w and fix commit https://github.com/greenshot/greenshot/commit/f5a29a2ed3b0eb49231c0f4618300f488cf1b04d. The vendor states no workarounds exist; if immediate upgrade is not possible, compensating controls are limited to reducing exposure to same-integrity local processes that can send window messages to Greenshot (for example, tightening desktop/window station ACLs or sandboxing untrusted local code), with the trade-off of potentially breaking legitimate WM_COPYDATA integrations, and monitoring for unexpected WM_COPYDATA traffic to Greenshot.exe.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a .NET unsafe deserialization issue (CWE-502) in Greenshot's WinForms WndProc handler for WM_COPYDATA (message 74). The handler copies attacker-supplied bytes into a MemoryStream and calls BinaryFormatter.Deserialize before checking whether the sender is authorized for the requested channel, so any gadget chain embedded in the serialized payload executes inside the Greenshot process regardless of channel membership. The fix adds a SafeSerializationBinder that permits only CopyDataObjectData and throws SecurityAccessDeniedException for all other types. The affected CPE is cpe:2.3:a:getgreenshot:greenshot:*:*:*:*:*:*:*:*, covering Greenshot 1.3.300 and earlier on Windows; the attack requires a local process at the same integrity level able to send WM_COPYDATA to the Greenshot main window, with no network vector.
Know when Greenshot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Requires a local same-integrity process to send WM_COPYDATA, so AV:L and PR:L; no user interaction and reliable deserialization give AC:L/UI:N; in-process RCE yields C/I/A:H with unchanged scope.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
Executive ViewAI
Greenshot 1.3.300 and earlier on Windows can be abused by a local process at the same integrity level to execute code inside the trusted, signed Greenshot.exe, creating an application-control evasion risk for endpoint fleets. Publicly available exploit code exists, but there is no KEV designation and the issue does not cross integrity boundaries, so leadership should prioritize fleet inventory and patch coverage over incident response. A vendor patch is available per advisory.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)NVD
Greenshot 1.2.10 and below allows arbitrary code execution because .NET content is insecurely deserialized when a .green
Arbitrary command execution in Greenshot 1.3.310 and earlier stems from insufficient input validation in filename proces
Greenshot versions 1.3.312 and earlier contain an untrusted executable search path vulnerability (CWE-426) that allows l
NVD
CVE.org
EPSS
GitHub
Exploit-DB