The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2023-20954

CVE-2023-20954: Google Android RCE Vulnerability

CVE-2023-20954 is a remote code execution flaw in Google Android's SDP_AddAttribute function that allows attackers to execute code without user interaction. This article covers technical details, affected versions, and mitigations.

Published: February 4, 2026

CVE-2023-20954 Overview

CVE-2023-20954 is a critical out-of-bounds write vulnerability in the Android operating system's Bluetooth Service Discovery Protocol (SDP) implementation. The flaw exists in the SDP_AddAttribute function within sdp_db.cc, where an incorrect bounds check allows an attacker to write data beyond allocated memory boundaries. This vulnerability enables remote code execution without requiring any user interaction or additional execution privileges, making it particularly dangerous for Android device users.

Critical Impact

This vulnerability allows attackers to achieve remote code execution on affected Android devices via Bluetooth without any user interaction, potentially leading to complete device compromise.

Affected Products

  • Google Android 11.0
  • Google Android 12.0
  • Google Android 12.1 (Android 12L)
  • Google Android 13.0

Discovery Timeline

  • 2023-03-24 - CVE-2023-20954 published to NVD
  • 2025-02-25 - Last updated in NVD database

Technical Details for CVE-2023-20954

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write), a memory corruption flaw that occurs when the application writes data past the end or before the beginning of an intended buffer. In the context of CVE-2023-20954, the SDP_AddAttribute function in Android's Bluetooth stack fails to properly validate the bounds of input data before writing it to memory.

The Bluetooth SDP component is responsible for discovering services offered by nearby Bluetooth devices. When processing malformed SDP attributes, the flawed bounds checking logic allows an attacker to corrupt adjacent memory regions. Since this occurs in the Bluetooth system service running with elevated privileges, successful exploitation grants attackers significant control over the affected device.

The network-accessible nature of this vulnerability, combined with no requirement for user interaction or authentication, creates an ideal attack scenario for threat actors targeting mobile devices in proximity.

Root Cause

The root cause of CVE-2023-20954 lies in the improper bounds validation within the SDP_AddAttribute function in sdp_db.cc. When adding attributes to the SDP database, the function performs an incorrect bounds check that fails to properly account for the size of incoming data relative to the allocated buffer space. This oversight allows maliciously crafted SDP packets to trigger writes beyond the allocated memory region, corrupting adjacent memory structures.

Attack Vector

The attack vector for this vulnerability is network-based, specifically over Bluetooth. An attacker within Bluetooth range of a vulnerable Android device can send specially crafted SDP packets designed to exploit the improper bounds check. The attack does not require any privileges on the target device, nor does it require the victim to take any action such as accepting a pairing request or opening an application.

The exploitation flow involves:

  1. Attacker identifies a vulnerable Android device within Bluetooth range
  2. Malicious SDP packets are crafted with oversized or malformed attribute data
  3. The packets trigger the out-of-bounds write condition in SDP_AddAttribute
  4. Memory corruption leads to arbitrary code execution in the context of the Bluetooth service

Since no verified code examples are available for this vulnerability, researchers and security teams should refer to the Android Security Bulletin March 2023 for technical details regarding the specific implementation flaw and the corresponding patch.

Detection Methods for CVE-2023-20954

Indicators of Compromise

  • Unusual Bluetooth service crashes or restarts on Android devices
  • Unexpected system behavior or stability issues following Bluetooth connections
  • Memory corruption indicators in system logs related to sdp_db.cc or Bluetooth services
  • Suspicious Bluetooth connection attempts from unknown devices

Detection Strategies

  • Monitor Android system logs for crashes or exceptions in Bluetooth-related processes
  • Implement network detection rules for malformed SDP packets on enterprise MDM solutions
  • Deploy endpoint protection solutions capable of detecting memory corruption attempts
  • Utilize SentinelOne's behavioral AI to identify exploitation attempts targeting the Android Bluetooth stack

Monitoring Recommendations

  • Enable verbose Bluetooth logging on managed Android devices to capture potential exploitation attempts
  • Monitor for unusual Bluetooth pairing activity or service discovery requests
  • Implement alerting for Bluetooth service crashes that may indicate exploitation attempts
  • Review device logs for any evidence of unauthorized code execution following Bluetooth activity

How to Mitigate CVE-2023-20954

Immediate Actions Required

  • Apply the March 2023 Android Security Patch immediately on all affected devices
  • Disable Bluetooth on devices that cannot be immediately patched when not in active use
  • Implement network segmentation to limit Bluetooth exposure in sensitive environments
  • Deploy mobile device management (MDM) solutions to enforce security policies and patch compliance

Patch Information

Google addressed this vulnerability in the Android Security Bulletin March 2023. The security patch level of 2023-03-01 or later includes the fix for CVE-2023-20954 (Android ID: A-261867748). Organizations should ensure all managed Android devices are updated to at least this patch level. Device manufacturers may have released corresponding updates for their specific Android implementations.

Workarounds

  • Disable Bluetooth when not actively required to reduce the attack surface
  • Keep Bluetooth in non-discoverable mode when enabled to limit exposure
  • Avoid using Bluetooth in public or untrusted environments until patches are applied
  • Implement strict MDM policies to enforce Bluetooth usage restrictions on corporate devices
bash
# Android ADB command to check current security patch level
adb shell getprop ro.build.version.security_patch

# Verify Bluetooth service status
adb shell dumpsys bluetooth_manager | grep "enabled"

# Disable Bluetooth via ADB (requires appropriate permissions)
adb shell settings put global bluetooth_on 0

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGoogle Android

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability2.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Vendor Resources
  • Android Security Bulletin March 2023
  • Related CVEs
  • CVE-2026-0114: Google Android Modem RCE Vulnerability

  • CVE-2026-0116: Google Android RCE Vulnerability

  • CVE-2026-0120: Google Android Modem RCE Vulnerability

  • CVE-2026-0122: Google Android RCE Vulnerability
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