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-40088

CVE-2023-40088: Google Android Use After Free Vulnerability

CVE-2023-40088 is a use after free vulnerability in Google Android Bluetooth service that enables remote code execution without user interaction. This article covers technical details, affected versions, and mitigations.

Published: February 4, 2026

CVE-2023-40088 Overview

CVE-2023-40088 is a critical Use After Free vulnerability discovered in the Android Bluetooth service component, specifically within the callback_thread_event function of com_android_bluetooth_btservice_AdapterService.cpp. This memory corruption flaw enables remote code execution from adjacent networks without requiring any user interaction or additional execution privileges, making it particularly dangerous for Android devices with Bluetooth enabled.

Critical Impact

Remote code execution via adjacent network attack allows attackers within Bluetooth range to compromise Android devices without user interaction, potentially leading to complete device takeover, data theft, and malware deployment.

Affected Products

  • Google Android 11.0
  • Google Android 12.0 and 12.1
  • Google Android 13.0
  • Google Android 14.0

Discovery Timeline

  • December 4, 2023 - CVE-2023-40088 published to NVD
  • December 1, 2023 - Google releases security patch in Android Security Bulletin
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-40088

Vulnerability Analysis

This Use After Free vulnerability exists in the Bluetooth adapter service's callback thread event handling mechanism. The flaw occurs when the callback_thread_event function in com_android_bluetooth_btservice_AdapterService.cpp improperly manages memory during Bluetooth event processing. When certain Bluetooth events are handled, memory that has already been freed may be subsequently accessed, leading to memory corruption.

The vulnerability is exploitable from an adjacent network position, meaning an attacker must be within Bluetooth communication range of the target device. However, once in range, the attack requires no user interaction and no special privileges, significantly lowering the barrier to exploitation. Successful exploitation results in arbitrary code execution with the privileges of the Bluetooth service process.

Root Cause

The root cause is a Use After Free (CWE-416) condition in the Android Bluetooth service. During callback thread event processing, the code fails to properly track and validate memory lifecycle states. This allows a scenario where previously deallocated memory is referenced and potentially modified, corrupting the heap and enabling arbitrary code execution.

The vulnerable code path exists in the JNI (Java Native Interface) layer that bridges the Android Bluetooth framework with native code, where complex event handling and threading models increase the risk of memory management errors.

Attack Vector

The attack vector is Adjacent Network (AV:A), meaning the attacker must be within Bluetooth range of the target device to exploit this vulnerability. The attack has low complexity (AC:L) and requires no privileges (PR:N) or user interaction (UI:N) to execute successfully.

An attacker could craft malicious Bluetooth packets or manipulate Bluetooth event sequences to trigger the use-after-free condition. Once the memory corruption occurs, the attacker can leverage heap manipulation techniques to redirect execution flow and achieve arbitrary code execution on the target Android device.

The vulnerability affects the Bluetooth adapter service which runs with elevated privileges, making successful exploitation particularly impactful. An attacker within Bluetooth range could potentially:

  • Execute arbitrary code on the victim device
  • Access sensitive data stored on the device
  • Install persistent malware
  • Use the compromised device for lateral movement in network environments

Detection Methods for CVE-2023-40088

Indicators of Compromise

  • Unexpected Bluetooth service crashes or restarts (com.android.bluetooth process)
  • Anomalous Bluetooth connection attempts from unknown devices
  • Unusual memory allocation patterns in system logs related to Bluetooth services
  • Suspicious Bluetooth pairing requests or connection events without user initiation

Detection Strategies

  • Monitor Android system logs for Bluetooth service crashes with memory corruption signatures
  • Implement network monitoring for unusual Bluetooth traffic patterns at the protocol level
  • Deploy endpoint detection solutions capable of identifying heap exploitation attempts
  • Review device logs for repeated AdapterService exceptions or native crashes

Monitoring Recommendations

  • Enable verbose logging for Bluetooth services on managed Android devices during investigation periods
  • Implement mobile device management (MDM) solutions with crash reporting capabilities
  • Monitor for devices running unpatched Android versions (11.0 through 14.0 without December 2023 security patches)
  • Consider Bluetooth policy restrictions on high-security environments until patches are applied

How to Mitigate CVE-2023-40088

Immediate Actions Required

  • Apply the December 2023 Android Security Bulletin patches immediately on all affected devices
  • Disable Bluetooth on devices that cannot be immediately patched in high-risk environments
  • Implement MDM policies to enforce security patch levels across managed device fleets
  • Monitor for suspicious Bluetooth activity on critical systems

Patch Information

Google has released patches addressing this vulnerability in the Android Security Bulletin 2023-12-01. The fix is available in the Android Bluetooth Module Commit with hash 5bfd817719fcf55cbb3476e6b5539a3db4c437fc.

Organizations should ensure all Android devices are updated to security patch level 2023-12-01 or later. The patch addresses the memory management issue in the callback_thread_event function to prevent the use-after-free condition.

Workarounds

  • Disable Bluetooth on unpatched devices when not actively in use
  • Implement network segmentation to isolate unpatched mobile devices from critical infrastructure
  • Configure Bluetooth to non-discoverable mode to reduce attack surface
  • Use MDM solutions to enforce Bluetooth restrictions on unpatched devices until updates can be applied
bash
# ADB commands to check Android security patch level and disable Bluetooth
# Check current security patch level
adb shell getprop ro.build.version.security_patch

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

# Verify Bluetooth is disabled
adb shell settings get global bluetooth_on

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechGoogle Android

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.46%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Vendor Resources
  • Android Bluetooth Module Commit

  • Android Security Bulletin 2023-12
  • Related CVEs
  • CVE-2026-0121: Google Android Use-After-Free Vulnerability

  • CVE-2026-0027: Google Android Use-After-Free Vulnerability

  • CVE-2026-20442: Google Android Use-After-Free Vulnerability

  • CVE-2026-20443: Google Android Use-After-Free 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