CVE-2025-59050: Greenshot — Insecure .NET deserialization via WM_COPYDATA enables local code execution

Published Sep 16, 2025
·
Updated

Greenshot is an open source Windows screenshot utility. Greenshot 1.3.300 and earlier deserializes attacker-controlled data received in a WMCOPYDATA 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 WMCOPYDATA (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 WMCOPYDATA 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.

Affected Software

2 affected components
Greenshot Greenshot<1.3.300
Getgreenshot Greenshot<1.3.301

Event History

Sep 16, 2025
CVE Published
via MITRE·04:23 PM
Data Sourced
via MITRE·04:23 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-59050?

CVE-2025-59050 is classified as a high-severity vulnerability due to its potential for code execution via deserialization of untrusted data.

2

How do I fix CVE-2025-59050?

To fix CVE-2025-59050, upgrade Greenshot to version 1.3.301 or later, where the vulnerability has been addressed.

3

What types of software are affected by CVE-2025-59050?

CVE-2025-59050 affects Greenshot versions 1.3.300 and earlier, specifically the open source Windows screenshot utility.

4

What impact does CVE-2025-59050 have if exploited?

If exploited, CVE-2025-59050 allows an attacker to execute arbitrary code on the local system due to the deserialization of attacker-controlled data.

5

Is CVE-2025-59050 remotely exploitable?

CVE-2025-59050 is not remotely exploitable; it requires local access to the system to exploit the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203