Skip to main content

scrcpy CVE-2025-34449

MEDIUM
Deserialization of Untrusted Data (CWE-502)
2025-12-18 disclosure@vulncheck.com
Medium
Disputed · 6.9 Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Connect compromised Android device to host
  2. Delivery
    Establish scrcpy mirroring session
  3. Exploit
    Send crafted device message
  4. Execution
    Fail inverted bounds check in sc_device_msg_deserialize()
  5. Persist
    Trigger out-of-bounds read
  6. Impact
    Crash client or corrupt host memory (DoS)

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 that the scrcpy client (version ≤3.3.3, prior to commit 3e40b24) is actively mirroring a device the attacker controls - i.e., a compromised or malicious Android device connected via USB or ADB that can send crafted device messages to the host. This is a device-to-host (reverse) trust-boundary attack: the normal assumption that the connected device is trusted is what gates exploitation. Limiting factors: the attacker must already have control of a connected device and an established scrcpy session (AV:L), impact is constrained to availability/crash of the client per the vendor vector (no confirmed confidentiality or integrity loss), and no authentication bypass of the host itself is involved. There are no claims of remote-over-network exploitation.

Impact

Multiple signals point to a modest, situationally-bounded risk rather than a top-tier priority. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H) scores 6.9 and explicitly caps impact at availability only - confidentiality and integrity are rated N, so this is primarily a denial-of-service / memory-corruption crash of the scrcpy host client, not confirmed code execution, despite the description's speculative 'may allow further exploitation on the host system.' Attack vector is Local (AV:L): the threat actor is a compromised/malicious Android device that must already be connected to and speaking the scrcpy protocol with the host, which materially narrows the attacker population. EPSS is low at 0.42% (34th percentile) and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; however, publicly available exploit code exists (Marlink/VulnCheck advisories plus a GitHub issue), raising the realistic likelihood of opportunistic PoC reuse against developers who plug in untrusted devices. Note a classification tension: the assigned CWE-502 (Deserialization) does not match the actual defect, which the patch diff reveals to be an inverted bounds check (size < len - 5 → size > len - 5) causing an out-of-bounds read - a classic CWE-125/787 memory-safety bug, not unsafe object deserialization. Net: a real but gated DoS-class issue; patch during normal maintenance, prioritize only where scrcpy is used with untrusted Android devices.

Exploit ScenarioDerived

An attacker controls or compromises an Android device (e.g., malware on the phone, or a maliciously-crafted device the victim connects) that the victim then mirrors using scrcpy ≤3.3.3 over USB or ADB. The device sends crafted device messages that fail the faulty length check in sc_device_msg_deserialize(), triggering an out-of-bounds read that crashes the scrcpy client or corrupts its memory. Public exploit/advisory code exists (Marlink MCSAID-2025-003 and VulnCheck), lowering the barrier to reproduction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 01, 2026

A compromised or malicious Android device connected over USB/ADB can crash the scrcpy host client (versions up to and including 3.3.3, prior to commit 3e40b24) by sending crafted device messages that trigger out-of-bounds reads in sc_device_msg_deserialize(). Publicly available exploit code exists, but with an EPSS score of only 0.42% (34th percentile) and no CISA KEV listing, multiple signals point to a modest, situationally-bounded risk rather than a top-tier priority; per the assessed CVSS 3.1 vector the impact is availability only (client crash or denial of service) with no confirmed confidentiality or integrity loss, though the advisory notes this may enable further exploitation on the host system.

RemediationAI

No tagged release version is identified in the available data, so this is an upstream fix available (commit 3e40b24); rebuild the host client from commit 3e40b24 or later, or upgrade to the first tagged scrcpy release that includes it, then verify the corrected bounds check in app/src/device_msg.c is present. Because the fix is code-level and committed rather than published as a versioned advisory, treat any locally packaged or distro build of scrcpy 3.3.3 or earlier as vulnerable until the maintainer's commit is confirmed included (see https://github.com/Genymobile/scrcpy/commit/3e40b24 and https://github.com/Genymobile/scrcpy/issues/6415). Compensating controls, with trade-offs: only mirror devices you physically control and trust, which removes the attack precondition entirely but defeats the common use case of debugging borrowed, refurbished, or untrusted hardware; run scrcpy inside a container, VM, or dedicated low-privilege OS account to contain the 'further exploitation on the host system' risk the advisory raises, at the cost of losing direct ADB device passthrough and convenience; avoid enabling ADB over TCP or connecting untrusted devices to a workstation that also holds sensitive credentials; and monitor for repeated or unexplained scrcpy client crashes on hosts that mirror external devices, treating them as a potential indicator rather than routine instability. There is no configuration flag that disables the affected deserialization path while retaining device mirroring, so patching or rebuilding remains the only complete fix.

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

scrcpy uses a client-server architecture in which the host client, written in C, communicates over an ADB tunnel with scrcpy-server running on the Android device. Device-to-host traffic is framed as typed messages containing an explicit payload length, and that framing is parsed in sc_device_msg_deserialize() in app/src/device_msg.c. The root cause falls under CWE-502 (deserialization of untrusted data): the parser trusts length and size fields supplied by the device side and fails to validate them against the size of the buffer actually received, so a crafted message can drive reads past the end of the buffer (a global buffer overflow per the VulnCheck and Marlink advisories). The upstream fix in commit 3e40b24 corrects the inverted length comparison in that branch of the deserializer, restoring a proper bounds check. Exploitation is gated by the reverse trust boundary of the tool: the host assumes the attached device is trusted, so an attacker must already control a device that is actively being mirrored. The assessed CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects this local, device-to-host precondition with no authentication or user interaction on the host side, and with no network-reachable attack path. The CPE cpe:2.3:a:genymotion:scrcpy:*:*:*:*:*:*:*:* carries no version constraint, but the vulnerable code path exists only in builds prior to the fix commit and in releases up to and including 3.3.3.

Know when Scrcpy 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

Sources disagree (Medium–Critical)
Vendor (vulncheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.2 MEDIUM

AV:L because a connected (compromised) device is the attack channel, not the open network; PR:N/UI:N since the device needs no host credentials; impact is availability-only (crash/DoS) per evidence, so C:N/I:N/A:H.

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

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
very popular open-source Android mirroring tool, but a developer desktop utility
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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.

Affected Products (CPE)CVE.org

cpe:2.3:a:genymotion:scrcpy:*:*:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Critical

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