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

CVE-2023-40129: Google Android RCE Vulnerability

CVE-2023-40129 is a remote code execution flaw in Google Android caused by a heap buffer overflow in gatt_sr.cc. Attackers can exploit this without user interaction. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-40129 Overview

CVE-2023-40129 is a heap buffer overflow vulnerability in the Android Bluetooth stack, specifically within the build_read_multi_rsp function of gatt_sr.cc. This vulnerability enables attackers within wireless range to achieve remote code execution on vulnerable Android devices without requiring user interaction or additional execution privileges.

Critical Impact

Remote code execution via Bluetooth on Android devices running versions 12.0, 12.1, and 13.0 with no user interaction required. Attackers within adjacent network range can potentially gain full control of the device.

Affected Products

  • Google Android 12.0
  • Google Android 12.1
  • Google Android 13.0

Discovery Timeline

  • October 27, 2023 - CVE-2023-40129 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-40129

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write) and manifests as a heap buffer overflow in the Android Bluetooth Generic Attribute Profile (GATT) server implementation. The flaw exists in the build_read_multi_rsp function within the gatt_sr.cc source file, which handles GATT read multiple response operations.

The vulnerability allows an attacker within Bluetooth range to trigger an out-of-bounds write condition by sending specially crafted GATT requests. Since the overflow occurs on the heap, successful exploitation could allow arbitrary code execution with the privileges of the Bluetooth service process. The attack can be conducted without any user interaction, making it particularly dangerous as victims would have no warning before compromise.

Root Cause

The root cause stems from improper bounds checking in the build_read_multi_rsp function when constructing responses to GATT read multiple requests. When processing these requests, the function fails to properly validate the size of incoming data against the allocated buffer space, allowing heap memory corruption to occur through a write operation that exceeds the intended buffer boundaries.

Attack Vector

The attack vector is via Adjacent Network, meaning an attacker must be within Bluetooth radio range of the target device. The attacker sends malicious GATT protocol requests to the vulnerable device, triggering the heap buffer overflow. Since no user interaction is required and no additional privileges are needed for exploitation, an attacker can silently compromise devices merely by being in proximity with Bluetooth enabled.

The exploitation flow involves:

  1. Attacker establishes a Bluetooth connection with the target device
  2. Attacker initiates GATT read multiple requests with crafted payloads
  3. The build_read_multi_rsp function processes the request without proper bounds validation
  4. Heap buffer overflow occurs, corrupting adjacent memory structures
  5. Attacker achieves code execution within the Bluetooth service context

Detection Methods for CVE-2023-40129

Indicators of Compromise

  • Unusual Bluetooth connection attempts or pairing requests from unknown devices
  • Bluetooth service crashes or unexpected restarts on Android devices
  • Anomalous GATT protocol traffic patterns, particularly multiple read requests with abnormal sizes
  • Memory corruption signs in Bluetooth-related processes such as com.android.bluetooth

Detection Strategies

  • Monitor Android system logs for Bluetooth service crashes or segmentation faults in gatt_sr.cc related functions
  • Deploy mobile threat detection solutions capable of identifying anomalous Bluetooth protocol behavior
  • Implement network-level Bluetooth traffic analysis where infrastructure permits
  • Use SentinelOne Singularity Mobile to detect exploitation attempts and suspicious Bluetooth activity

Monitoring Recommendations

  • Enable verbose logging for Bluetooth services on critical Android devices
  • Monitor for unexpected Bluetooth service restarts in enterprise mobile device management (MDM) solutions
  • Implement alerting for multiple failed Bluetooth connection attempts from the same source
  • Track Android security patch levels across device fleet to identify unpatched systems

How to Mitigate CVE-2023-40129

Immediate Actions Required

  • Apply the Android Security Bulletin October 2023 patches immediately on all affected devices
  • Disable Bluetooth on devices that cannot be immediately patched when not actively in use
  • Limit Bluetooth discoverability to "hidden" mode to reduce attack surface
  • Ensure enterprise devices are enrolled in MDM with mandatory security update policies

Patch Information

Google has released patches addressing this vulnerability in the October 2023 Android Security Bulletin. The fix is available in the Android Bluetooth module with commit hash c0151aa3ba76c785b32c7f9d16c98febe53017b1. Organizations should apply the security patch level dated 2023-10-01 or later to remediate this vulnerability.

For detailed patch information, refer to:

  • Android Security Bulletin - October 2023
  • Android Bluetooth Patch

Workarounds

  • Disable Bluetooth entirely on devices where it is not required for business operations
  • Configure devices to non-discoverable mode to prevent unsolicited connection attempts
  • Implement physical security controls in high-risk environments to limit attacker proximity
  • Use SentinelOne Singularity Mobile for runtime protection against exploitation attempts on mobile endpoints
bash
# ADB command to disable Bluetooth via device policy (requires root or MDM)
adb shell settings put global bluetooth_on 0

# Check current Android security patch level
adb shell getprop ro.build.version.security_patch

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

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.04%

  • 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-787
  • Vendor Resources
  • Android Bluetooth Patch

  • Android Security Bulletin - October 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
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