Cloudanix VulnDB

CVE-2016-9804

Medium · 5.3

CVSS

5.3

EPSS

2.5%

Published

Dec 3, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in Bluetooth software can crash a diagnostic tool when it tries to read certain bad data files, interrupting troubleshooting work.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Buffer overflow in commands_dump function in tools/parser/csr.c due to missing bounds checks on the commands array when reading from frm->ptr, causing hcidump to crash on malformed input.

Why it matters to the business

Interrupts Bluetooth debugging and packet capture analysis workflows by causing unexpected termination of the hcidump utility when handling untrusted or corrupted dump files.

How an attack unfolds

An attacker supplies a specially crafted corrupted CSR Bluetooth dump file containing oversized commands data; hcidump processes the file without bounds validation, overflowing the array and crashing the process.

How to fix it

Upgrade BlueZ to a version containing the fix for this buffer overflow; restrict hcidump usage to trusted input files only.

How to confirm the fix worked

Confirm BlueZ version exceeds 5.42; test hcidump with sample malformed CSR dumps to verify absence of crash.

Typical attack path

  1. Create or obtain a malformed dump file with data exceeding expected commands array size
  2. Invoke hcidump against the malicious file
  3. Trigger buffer overflow leading to denial of service crash

How to detect it

Search application and system logs for hcidump segmentation faults or abrupt terminations correlated with dump file processing; inspect recent file access patterns to the csr parser.

  • hcidump
  • commands_dump
  • tools/parser/csr.c
  • frm->ptr

What your security team should do

  • Apply latest BlueZ updates across all affected systems
  • Disable or sandbox hcidump when processing external files
  • Review and harden Bluetooth diagnostic tooling in development and support environments

The record

In BlueZ 5.42, a buffer overflow was observed in "commands_dump" function in "tools/parser/csr.c" source file. The issue exists because "commands" array is overflowed by supplied parameter due to lack of boundary checks on size of the buffer from frame "frm->ptr" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 bluez 0 No fix
Debian:11 bluez 0 No fix
Debian:12 bluez 0 No fix
Debian:13 bluez 0 No fix
Mageia:6 bluez 0 5.45-2.2.mga6
SUSE:Linux Enterprise Desktop 12 SP3 bluez 0 5.13-5.4.1
SUSE:Linux Enterprise Server 12 SP1-LTSS bluez 0 5.13-3.10.1
SUSE:Linux Enterprise Server 12 SP3 bluez 0 5.13-5.4.1
SUSE:Linux Enterprise Server 12-LTSS bluez 0 5.13-3.10.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 bluez 0 5.13-3.10.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 bluez 0 5.13-5.4.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 bluez 0 5.13-5.4.1
SUSE:Linux Enterprise Workstation Extension 12 SP3 bluez 0 5.13-5.4.1
Ubuntu:20.04:LTS bluez 0 No fix
Ubuntu:22.04:LTS bluez 0 No fix
Ubuntu:24.04:LTS bluez 0 No fix
Ubuntu:24.10 bluez 0 No fix
Ubuntu:25.04 bluez 0 No fix
Ubuntu:25.10 bluez 0 No fix
Ubuntu:Pro:16.04:LTS bluez 0 No fix
Ubuntu:Pro:18.04:LTS bluez 0 No fix
Ubuntu:Pro:20.04:LTS bluez 0 No fix

Related vulnerabilities