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

- Severity: High 8.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-16T16:23:37.866Z
- Modified: 2026-10-19T17:10:00.173Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- greenshot greenshot: < 1.3.301
- getgreenshot greenshot: before 1.3.301

## Every score

- GitHub_M: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/greenshot/greenshot/security/advisories/GHSA-8f7f-x7ww-xx5w> (exploit, vendor-advisory)
- <https://github.com/greenshot/greenshot/commit/f5a29a2ed3b0eb49231c0f4618300f488cf1b04d> (patch)

## Sources

- CVE List: [CVE-2025-59050](https://www.cve.org/CVERecord?id=CVE-2025-59050), CVE Terms of Use, modified 2025-09-16
- NVD: [CVE-2025-59050](https://nvd.nist.gov/vuln/detail/CVE-2025-59050), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-59050 · Whole record: https://cve.day/CVE-2025-59050.json · Rebuilt by cve.day 2026-11-25T22:59:04.750Z
