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-2021-0968

CVE-2021-0968: Google Android RCE Vulnerability

CVE-2021-0968 is a remote code execution vulnerability in Google Android caused by an integer overflow in allocator.cc. It affects Android 9 through 12 and requires no user interaction. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 25, 2026

CVE-2021-0968 Overview

CVE-2021-0968 is an integer overflow vulnerability in the osi_malloc and osi_calloc functions within the allocator.cc file of Android's Bluetooth stack. This vulnerability allows for an out-of-bounds write condition that can be exploited remotely to achieve code execution without requiring additional execution privileges. Notably, user interaction is not needed for exploitation, significantly increasing the risk profile of this vulnerability.

Critical Impact

Remote code execution is possible on affected Android devices through the Bluetooth subsystem without any user interaction, potentially allowing complete device compromise.

Affected Products

  • Google Android 9.0
  • Google Android 10.0
  • Google Android 11.0
  • Google Android 12.0

Discovery Timeline

  • 2021-12-15 - CVE-2021-0968 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-0968

Vulnerability Analysis

The vulnerability exists within the Bluetooth Operating System Interface (OSI) memory allocation routines in Android. The osi_malloc and osi_calloc functions in allocator.cc fail to properly validate size parameters before performing memory allocation operations. When specially crafted input causes an integer overflow during size calculations, the allocator may allocate a buffer significantly smaller than intended. Subsequent operations that write data to this undersized buffer result in an out-of-bounds write condition.

This vulnerability is classified under CWE-190 (Integer Overflow or Wraparound), which occurs when an arithmetic operation attempts to create a numeric value that exceeds the maximum value that can be stored in the allocated memory space.

Root Cause

The root cause is insufficient bounds checking on allocation size parameters within the osi_malloc and osi_calloc functions. When a size value is provided that, when multiplied or combined with other values during allocation calculations, exceeds the maximum representable integer value, the result wraps around to a small positive number. This causes the allocator to provision a much smaller memory region than the calling code expects, leading to heap corruption when data is subsequently written.

Attack Vector

The attack can be conducted remotely over a network connection targeting the Bluetooth subsystem. An attacker can craft malicious Bluetooth packets or establish a malicious Bluetooth connection that triggers the vulnerable code path in the memory allocator. The exploitation chain works as follows:

  1. Attacker sends specially crafted data to the target device's Bluetooth interface
  2. The data triggers a code path that calls osi_malloc or osi_calloc with attacker-controlled size values
  3. Integer overflow occurs during size calculation, resulting in undersized buffer allocation
  4. Subsequent data copy operations overflow the allocated buffer
  5. Heap corruption enables arbitrary code execution with the privileges of the Bluetooth process

The vulnerability does not require user interaction, meaning an attacker within Bluetooth range or with network access to the device can potentially exploit this flaw without the device owner taking any action.

Detection Methods for CVE-2021-0968

Indicators of Compromise

  • Unusual Bluetooth service crashes or restarts on Android devices
  • Unexpected memory allocation failures logged in the Bluetooth subsystem
  • System instability following Bluetooth connection attempts from unknown devices
  • Anomalous heap corruption signatures in crash dumps from the Bluetooth process

Detection Strategies

  • Monitor Android system logs for Bluetooth service crashes with memory-related error codes
  • Implement heap integrity monitoring for the Bluetooth process to detect corruption patterns
  • Deploy network-level monitoring to identify malformed Bluetooth protocol traffic
  • Utilize mobile threat detection solutions capable of identifying exploitation attempts targeting Android system services

Monitoring Recommendations

  • Enable verbose logging for Android Bluetooth services in enterprise environments
  • Implement centralized log collection from Android devices to correlate potential exploitation attempts
  • Deploy mobile device management (MDM) solutions with security monitoring capabilities to track device patch levels
  • Monitor for unexpected Bluetooth service behavior patterns across managed device fleets

How to Mitigate CVE-2021-0968

Immediate Actions Required

  • Apply the December 2021 Android Security Bulletin patches immediately
  • Disable Bluetooth on devices that cannot be immediately patched when not in active use
  • Restrict Bluetooth pairing to known and trusted devices only
  • Consider network isolation for unpatched Android devices in enterprise environments

Patch Information

Google addressed this vulnerability in the Android Security Bulletin December 2021. The fix implements proper bounds checking on allocation size parameters in the osi_malloc and osi_calloc functions to prevent integer overflow conditions. The Android ID associated with this vulnerability is A-197868577.

Organizations should ensure all Android devices running versions 9.0, 10.0, 11.0, and 12.0 receive the December 2021 or later security patch level. Device manufacturers may have varying timelines for patch availability, so administrators should coordinate with device vendors for update schedules.

Workarounds

  • Disable Bluetooth functionality entirely on devices where patches cannot be applied
  • Use Android's Bluetooth visibility settings to minimize device exposure when Bluetooth must remain enabled
  • Implement strict Bluetooth pairing policies that prevent connections from unknown devices
  • Consider deploying mobile threat defense solutions that can detect exploitation attempts
bash
# Check current Android security patch level via ADB
adb shell getprop ro.build.version.security_patch

# Disable Bluetooth via ADB for enterprise device management
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

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.48%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Vendor Resources
  • Android Security Bulletin December 2021
  • 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