Skip to main content

Greenshot CVE-2025-59050

HIGH
Deserialization of Untrusted Data (CWE-502)
2025-09-16 security-advisories@github.com
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Run process at matching integrity level
  2. Delivery
    Craft malicious BinaryFormatter gadget payload
  3. Exploit
    Send WM_COPYDATA (msg 74) to Greenshot window
  4. Execution
    Deserialize executes before channel check
  5. Impact
    Arbitrary 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 28, 2026 - 19:12 CVSS 8.4

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

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Oct 19, 2026 - 17:31 vuln.today
v2 - CVSS changed
CVSS changed
Oct 19, 2026 - 17:23 NVD
8.4 (HIGH) 7.8 (HIGH)
Patch released
Mar 28, 2026 - 19:12 nvd
Patch available
PoC Detected
Oct 02, 2025 - 18:54 vuln.today
Public exploit code
CVE Published
Sep 16, 2025 - 17:15 nvd
HIGH 8.4

DescriptionNVD

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 52% exploitable
Prevalence
Low
popular but niche free Windows desktop screenshot utility, no enterprise mandate
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:getgreenshot:greenshot:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy