CVE-2025-34449: CWE-502 Deserialization of Untrusted Data in Genymobile scrcpy
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.
AI Analysis
Technical Summary
CVE-2025-34449 is a vulnerability identified in Genymobile's scrcpy software, a popular open-source tool used for displaying and controlling Android devices from a desktop. The vulnerability exists in versions up to and including 3.3.3, specifically in the sc_device_msg_deserialize() function responsible for deserializing messages from connected devices. This function improperly handles untrusted input, leading to a buffer overflow condition via out-of-bounds reads. Such memory corruption can cause denial-of-service (DoS) conditions or potentially enable further exploitation on the host system. The vulnerability is classified under CWE-502, which concerns unsafe deserialization of untrusted data. Exploitation requires a compromised or malicious device physically or logically connected to the host running scrcpy, as the attack vector is local (AV:L). No user interaction or privileges are required, making it easier to exploit once access is established. The CVSS v4.0 score is 6.9 (medium severity), reflecting the moderate impact on availability and potential for further compromise. No patches or exploits are currently publicly available, but the issue was reserved in April 2025 and published in December 2025. The vulnerability highlights risks in device-host communication channels where untrusted devices can send crafted messages that are not properly validated before deserialization.
Potential Impact
The primary impact of CVE-2025-34449 is on the availability and integrity of the host system running scrcpy. A successful exploit can cause memory corruption leading to application crashes or denial-of-service, disrupting workflows that rely on device mirroring or debugging. More critically, memory corruption may be leveraged by attackers to execute arbitrary code or escalate privileges on the host, potentially compromising sensitive data or system stability. Organizations using scrcpy in development, testing, or operational environments face risks of downtime and data exposure if malicious devices connect. Since scrcpy is often used in environments with multiple connected devices, the attack surface is significant. The vulnerability does not require user interaction or elevated privileges, increasing the likelihood of exploitation once a compromised device is connected. Although no known exploits exist yet, the potential for further exploitation elevates the risk for organizations relying on scrcpy for Android device management.
Mitigation Recommendations
1. Immediately restrict scrcpy usage to trusted devices only, preventing unknown or untrusted devices from connecting. 2. Monitor and audit device connections to detect any unauthorized or suspicious devices. 3. Apply updates or patches from Genymobile as soon as they become available to address this vulnerability. 4. If patches are not yet available, consider disabling scrcpy or isolating the host system to minimize exposure. 5. Employ host-based intrusion detection systems (HIDS) to monitor for abnormal scrcpy process behavior or crashes indicative of exploitation attempts. 6. Use network segmentation and endpoint security controls to limit access to systems running scrcpy. 7. Educate users and administrators about the risks of connecting untrusted devices and enforce strict device management policies. 8. Review and harden the host operating system's memory protection mechanisms (e.g., ASLR, DEP) to mitigate exploitation impact. 9. Conduct regular security assessments of development and testing environments where scrcpy is used to identify and remediate potential weaknesses.
Affected Countries
United States, Germany, Japan, South Korea, China, France, United Kingdom, India, Canada, Australia
CVE-2025-34449: CWE-502 Deserialization of Untrusted Data in Genymobile scrcpy
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-34449 is a vulnerability identified in Genymobile's scrcpy software, a popular open-source tool used for displaying and controlling Android devices from a desktop. The vulnerability exists in versions up to and including 3.3.3, specifically in the sc_device_msg_deserialize() function responsible for deserializing messages from connected devices. This function improperly handles untrusted input, leading to a buffer overflow condition via out-of-bounds reads. Such memory corruption can cause denial-of-service (DoS) conditions or potentially enable further exploitation on the host system. The vulnerability is classified under CWE-502, which concerns unsafe deserialization of untrusted data. Exploitation requires a compromised or malicious device physically or logically connected to the host running scrcpy, as the attack vector is local (AV:L). No user interaction or privileges are required, making it easier to exploit once access is established. The CVSS v4.0 score is 6.9 (medium severity), reflecting the moderate impact on availability and potential for further compromise. No patches or exploits are currently publicly available, but the issue was reserved in April 2025 and published in December 2025. The vulnerability highlights risks in device-host communication channels where untrusted devices can send crafted messages that are not properly validated before deserialization.
Potential Impact
The primary impact of CVE-2025-34449 is on the availability and integrity of the host system running scrcpy. A successful exploit can cause memory corruption leading to application crashes or denial-of-service, disrupting workflows that rely on device mirroring or debugging. More critically, memory corruption may be leveraged by attackers to execute arbitrary code or escalate privileges on the host, potentially compromising sensitive data or system stability. Organizations using scrcpy in development, testing, or operational environments face risks of downtime and data exposure if malicious devices connect. Since scrcpy is often used in environments with multiple connected devices, the attack surface is significant. The vulnerability does not require user interaction or elevated privileges, increasing the likelihood of exploitation once a compromised device is connected. Although no known exploits exist yet, the potential for further exploitation elevates the risk for organizations relying on scrcpy for Android device management.
Mitigation Recommendations
1. Immediately restrict scrcpy usage to trusted devices only, preventing unknown or untrusted devices from connecting. 2. Monitor and audit device connections to detect any unauthorized or suspicious devices. 3. Apply updates or patches from Genymobile as soon as they become available to address this vulnerability. 4. If patches are not yet available, consider disabling scrcpy or isolating the host system to minimize exposure. 5. Employ host-based intrusion detection systems (HIDS) to monitor for abnormal scrcpy process behavior or crashes indicative of exploitation attempts. 6. Use network segmentation and endpoint security controls to limit access to systems running scrcpy. 7. Educate users and administrators about the risks of connecting untrusted devices and enforce strict device management policies. 8. Review and harden the host operating system's memory protection mechanisms (e.g., ASLR, DEP) to mitigate exploitation impact. 9. Conduct regular security assessments of development and testing environments where scrcpy is used to identify and remediate potential weaknesses.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2025-04-15T19:15:22.602Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 694471834eb3efac36abad1d
Added to database: 12/18/2025, 9:26:27 PM
Last enriched: 3/5/2026, 2:06:07 PM
Last updated: 3/23/2026, 7:13:23 PM
Views: 113
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.