Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-34449

CVE-2025-34449: Genymotion Scrcpy Buffer Overflow Flaw

CVE-2025-34449 is a buffer overflow vulnerability in Genymotion Scrcpy that allows compromised devices to trigger memory corruption or denial-of-service on host systems. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 18, 2026

CVE-2025-34449 Overview

CVE-2025-34449 is a buffer overflow vulnerability affecting Genymobile/scrcpy versions up to and including 3.3.3. The flaw exists in the sc_device_msg_deserialize() function, where a compromised Android device can send crafted messages that cause out-of-bounds reads. This may result in memory corruption or a denial-of-service condition on the host system, with potential for further exploitation.

Critical Impact

A compromised Android device connected via scrcpy can exploit this buffer overflow to cause memory corruption or crash the host application, potentially enabling further exploitation of the host system.

Affected Products

  • Genymotion scrcpy versions up to and including 3.3.3
  • All scrcpy installations prior to commit 3e40b24

Discovery Timeline

  • 2025-12-18 - CVE-2025-34449 published to NVD
  • 2026-01-03 - Last updated in NVD database

Technical Details for CVE-2025-34449

Vulnerability Analysis

The vulnerability resides in the message deserialization logic within scrcpy's device communication handler. When processing UHID_OUTPUT messages from a connected Android device, the sc_device_msg_deserialize() function incorrectly validates the message size parameter before reading data into memory buffers.

The root issue is a logic error in the boundary condition check. The code reads a 16-bit size value from the incoming message buffer but applies an incorrect comparison operator when validating whether sufficient data is available. This allows a malicious device to specify a size value larger than the actual data present, causing the subsequent malloc() and memory operations to read beyond the intended buffer boundaries.

Since scrcpy is designed to mirror Android device screens to host computers, an attacker who has compromised an Android device could leverage this vulnerability to attack the connected host system. The local attack vector requires the victim to connect their host machine to a compromised device via USB or network.

Root Cause

The vulnerability stems from an incorrect comparison operator in the size validation check within sc_device_msg_deserialize(). The condition if (size < len - 5) was used instead of the correct if (size > len - 5), allowing attackers to specify arbitrarily large size values that exceed the available buffer data.

Attack Vector

The attack requires a compromised Android device to be connected to a victim's host system running scrcpy. The malicious device sends specially crafted UHID_OUTPUT messages containing a size field that exceeds the actual message payload length. When scrcpy processes these messages, it performs out-of-bounds memory reads, potentially causing:

  1. Application crash (denial of service)
  2. Memory corruption on the host system
  3. Information disclosure through memory leakage
  4. Potential code execution if memory corruption can be weaponized
c
             }
             uint16_t id = sc_read16be(&buf[1]);
             size_t size = sc_read16be(&buf[3]);
-            if (size < len - 5) {
+            if (size > len - 5) {
                 return 0; // not available
             }
             uint8_t *data = malloc(size);

Source: GitHub Commit 3e40b24

The fix changes the comparison operator from < to >, ensuring that the declared size does not exceed the actual available data in the buffer, thereby preventing out-of-bounds reads.

Detection Methods for CVE-2025-34449

Indicators of Compromise

  • Unexpected scrcpy application crashes or segmentation faults during Android device connections
  • Abnormal memory consumption by the scrcpy process
  • Crash dumps indicating memory access violations in sc_device_msg_deserialize() or related functions
  • Suspicious UHID_OUTPUT message patterns in debug logs

Detection Strategies

  • Monitor scrcpy process stability and log any unexpected terminations
  • Implement application crash monitoring to detect repeated denial-of-service conditions
  • Review connected Android devices for signs of compromise before establishing scrcpy connections
  • Deploy endpoint detection and response (EDR) solutions to identify anomalous memory access patterns

Monitoring Recommendations

  • Enable debug logging in scrcpy to capture message processing details
  • Monitor system event logs for application crashes related to scrcpy
  • Implement host-based intrusion detection for memory corruption indicators
  • Track version information of scrcpy installations across the environment

How to Mitigate CVE-2025-34449

Immediate Actions Required

  • Update scrcpy to a version that includes commit 3e40b24 or later
  • Avoid connecting to untrusted or potentially compromised Android devices
  • Review and validate the integrity of Android devices before establishing scrcpy connections
  • Consider disabling UHID features if not required for your use case

Patch Information

The vulnerability has been addressed in commit 3e40b24 available in the Genymobile/scrcpy repository. Users should update to a version that includes this fix. The patch corrects the boundary validation logic in the sc_device_msg_deserialize() function by changing the comparison operator to properly validate message size against available buffer data.

Additional technical details and discussion are available in the GitHub Issue #6415.

Workarounds

  • Restrict scrcpy usage to trusted, verified Android devices only
  • Implement network segmentation to isolate systems running scrcpy from critical infrastructure
  • Use USB debugging only on devices with verified firmware and security posture
  • Monitor scrcpy connections and terminate any sessions exhibiting abnormal behavior
bash
# Check current scrcpy version
scrcpy --version

# If building from source, ensure you have the patched version
git clone https://github.com/Genymobile/scrcpy.git
cd scrcpy
git log --oneline | grep 3e40b24

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechGenymotion

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • Marlink Cyber Advisory MCSAID-2025-003

  • VulnCheck Security Advisory
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Issue Discussion
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English