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-2022-0204

CVE-2022-0204: Bluez Heap Overflow DoS Vulnerability

CVE-2022-0204 is a heap overflow denial of service vulnerability in Bluez that allows attackers with local network access to crash applications. This article covers the technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2022-0204 Overview

A heap overflow vulnerability was discovered in BlueZ, the official Linux Bluetooth protocol stack, affecting versions prior to 5.63. This memory corruption flaw allows an attacker with local network access (adjacent network) to pass specially crafted files that can cause application crashes or denial of service conditions. The vulnerability stems from improper bounds checking when handling GATT (Generic Attribute Profile) prepare write operations.

Critical Impact

Adjacent network attackers can exploit this heap overflow to achieve high impact on confidentiality, integrity, and availability of affected systems running BlueZ Bluetooth services.

Affected Products

  • BlueZ versions prior to 5.63
  • Fedora 35
  • Debian Linux 10.0

Discovery Timeline

  • 2022-03-10 - CVE-2022-0204 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2022-0204

Vulnerability Analysis

This vulnerability is classified under CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) and CWE-190 (Integer Overflow or Wraparound). The flaw exists in the GATT server implementation within BlueZ, specifically in how the software handles prepare write operations. When processing attribute write requests, the code fails to properly validate the combination of length and offset parameters before appending data to buffers, creating conditions where heap memory can be overwritten beyond allocated boundaries.

The adjacent network attack vector means an attacker must be within Bluetooth range or on the same local network segment to exploit this vulnerability. No authentication or user interaction is required, making exploitation straightforward for attackers with proximity access.

Root Cause

The root cause lies in the src/shared/gatt-server.c file where the GATT server processes write requests. The code did not implement adequate bounds checking when combining the length and offset parameters of prepare write operations. When these values are not properly validated against BT_ATT_MAX_VALUE_LEN, the resulting operation can exceed the allocated buffer size, causing a heap overflow condition.

Attack Vector

An attacker positioned on an adjacent network (within Bluetooth range) can send specially crafted GATT prepare write requests with manipulated length and offset values. By setting these parameters to values that, when combined, exceed BT_ATT_MAX_VALUE_LEN, the attacker can trigger a heap overflow. This can lead to:

  1. Application crashes and denial of service
  2. Potential memory corruption affecting other heap-allocated data
  3. System instability in Bluetooth-dependent services
c
// Security patch from src/shared/gatt-server.c
// Source: https://github.com/bluez/bluez/commit/591c546c536b42bef696d027f64aa22434f8c3f0

 				server->authorize_data);
 }
 
+static uint8_t check_length(uint16_t length, uint16_t offset)
+{
+	if (length > BT_ATT_MAX_VALUE_LEN)
+		return BT_ATT_ERROR_INVALID_ATTRIBUTE_VALUE_LEN;
+
+	if (offset > BT_ATT_MAX_VALUE_LEN)
+		return BT_ATT_ERROR_INVALID_OFFSET;
+
+	if (length + offset > BT_ATT_MAX_VALUE_LEN)
+		return BT_ATT_ERROR_INVALID_ATTRIBUTE_VALUE_LEN;
+
+	return 0;
+}
+
 static void write_cb(struct bt_att_chan *chan, uint8_t opcode, const void *pdu,
				uint16_t length, void *user_data)
 {

The patch introduces a new check_length() function that validates both individual parameters and their sum against BT_ATT_MAX_VALUE_LEN, returning appropriate ATT error codes when bounds are exceeded.

Detection Methods for CVE-2022-0204

Indicators of Compromise

  • Unexpected crashes or restarts of the bluetoothd daemon
  • Segmentation fault errors in system logs related to BlueZ services
  • Unusual Bluetooth connection attempts from unknown devices
  • Memory-related errors in /var/log/syslog or journalctl output for Bluetooth services

Detection Strategies

  • Monitor for abnormal Bluetooth ATT (Attribute Protocol) traffic patterns, particularly prepare write requests with unusual length/offset combinations
  • Deploy endpoint detection solutions to identify heap corruption attempts in BlueZ processes
  • Implement runtime memory protection tools such as AddressSanitizer (ASan) in development/testing environments
  • Use SentinelOne Singularity to detect memory exploitation attempts and anomalous process behavior

Monitoring Recommendations

  • Enable verbose logging for BlueZ services using bluetoothd -d for debugging
  • Monitor system resource usage for bluetoothd process to detect memory anomalies
  • Configure alerting for repeated Bluetooth service failures or restarts
  • Review Bluetooth pairing and connection logs for suspicious activity from nearby devices

How to Mitigate CVE-2022-0204

Immediate Actions Required

  • Upgrade BlueZ to version 5.63 or later immediately
  • If upgrade is not possible, consider disabling Bluetooth services on critical systems temporarily
  • Restrict physical proximity access to systems with Bluetooth enabled
  • Apply vendor-specific patches from Fedora, Debian, or Gentoo repositories

Patch Information

The official fix is available in BlueZ version 5.63 and later. The security patch (commit 591c546c536b42bef696d027f64aa22434f8c3f0) adds proper bounds checking in the GATT server implementation. Additional resources include:

  • GitHub BlueZ Security Commit
  • Red Hat Bug Report
  • GitHub Security Advisory GHSA-479m-xcq5-9g2q
  • Gentoo GLSA 202209-16
  • Debian LTS Announcement

Workarounds

  • Disable Bluetooth services on systems where they are not essential using systemctl disable bluetooth
  • Implement network segmentation to limit adjacent network attack surface
  • Use Bluetooth adapter hardware controls to disable radio when not in use
  • Apply host-based firewall rules to restrict Bluetooth-related network traffic
bash
# Disable BlueZ Bluetooth service temporarily
sudo systemctl stop bluetooth
sudo systemctl disable bluetooth

# Check BlueZ version to verify if vulnerable
bluetoothd --version

# Update BlueZ on Debian-based systems
sudo apt update && sudo apt upgrade bluez

# Update BlueZ on Fedora
sudo dnf update bluez

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechBluez

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.05%

  • 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-119

  • CWE-190
  • Technical References
  • GitHub Security Advisory

  • Debian LTS Announcement

  • Gentoo GLSA 202209-16

  • Debian LTS Announcement
  • Vendor Resources
  • Red Hat Bug Report

  • GitHub BlueZ Commit
  • Related CVEs
  • CVE-2020-24490: BlueZ Denial of Service Vulnerability

  • CVE-2021-43400: BlueZ Use-After-Free Vulnerability

  • CVE-2020-0556: BlueZ Privilege Escalation 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