{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59050 exists.","fix":"No fix has been published for CVE-2025-59050 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59050 is a high-severity unsafe deserialization vulnerability in greenshot, published on 16 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-59050 and fix it if it is affected.\n\nWhat it is: CVE-2025-59050 is a high-severity unsafe deserialization vulnerability in greenshot, published on 16 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59050 exists.\n\nAffected product: greenshot. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59050/ (Markdown: https://insights.sbomify.com/CVE-2025-59050/index.md)","id":"CVE-2025-59050","markdown":"https://insights.sbomify.com/CVE-2025-59050/index.md","name":"CVE-2025-59050","record":{"aliases":["GHSA-8f7f-x7ww-xx5w"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows screenshot utility","requires_auth":"none","summary":"A local attacker can execute arbitrary code in Greenshot by sending malicious serialized data via WM_COPYDATA, bypassing authorization checks.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"greenshot","vendor":"getgreenshot"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Greenshot — Insecure .NET deserialization via WM_COPYDATA enables local code execution","id":"CVE-2025-59050","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"FreePBX Endpoint Manager command injection via Network Scanning feature","id":"CVE-2025-59051"},"packages":[],"prev":{"headline":"Mockoon has a Path Traversal and LFI in the static file serving endpoint","id":"CVE-2025-59049"},"products":["greenshot"],"published":"2025-09-16","related":[{"cvss_score":7.8,"headline":"Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin","id":"CVE-2026-22035","kev_date_added":null,"published":"2026-01-08"},{"cvss_score":7.8,"headline":"Deserialization in n/a","id":"CVE-2023-34634","kev_date_added":null,"published":"2023-08-01"},{"cvss_score":6.5,"headline":"Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin","id":"CVE-2026-25792","kev_date_added":null,"published":"2026-03-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-16","vendors":["greenshot"]},"summary":"A local attacker can execute arbitrary code in Greenshot by sending malicious serialized data via WM_COPYDATA, bypassing authorization checks.","url":"https://insights.sbomify.com/CVE-2025-59050/"}