Description
Genymobile/scrcpy versions up to and including 3.3.3, prior to commit 3e40b24, contain a buffer overflow vulnerability in the sc_device_msg_deserialize() function. A compromised device can send crafted messages that cause out-of-bounds reads, which may result in memory corruption or a denial-of-service condition. This vulnerability may allow further exploitation on the host system.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Genymobile | scrcpy | ≤ 3.3.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | scrcpy | No fix yet | — |
| Ubuntu 26.04 LTS | scrcpy | No fix yet | — |
| Ubuntu 25.10 | scrcpy | No fix yet | — |
| Ubuntu 24.04 LTS | scrcpy | No fix yet | — |
| Ubuntu 22.04 LTS | scrcpy | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | scrcpy | No fix yet | — |
References
- https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2025-003-scrcpy-global-buffer-overflow.md technical-description exploit
- https://github.com/Genymobile/scrcpy/issues/6415 issue-tracking
- https://github.com/Genymobile/scrcpy/commit/3e40b24 patch
- https://www.vulncheck.com/advisories/genymobile-scrcpy-global-buffer-overflow third-party-advisory