Cloudanix VulnDB

CVE-2016-9800

Medium · 5.3

CVSS

5.3

EPSS

2.9%

Published

Dec 3, 2016

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the Bluetooth software on many Linux devices can let an attacker send bad data that makes the software crash or misbehave.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Buffer overflow in pin_code_reply_dump caused by missing bounds checks on the pin array when processing an oversized pin_code_reply_cp frame parameter.

Why it matters to the business

Bluetooth-enabled Linux systems may experience crashes or memory corruption that disrupts device pairing and wireless connectivity services.

How an attack unfolds

An attacker sends a crafted HCI pin_code_reply packet containing an oversized pin value over a Bluetooth or local interface; the parser copies the data without checking length and overwrites adjacent memory.

How to fix it

Upgrade BlueZ to a version containing the boundary check fix; rebuild and restart the bluetoothd service after installation.

How to confirm the fix worked

Confirm BlueZ version is newer than 5.42 and that the pin_code_reply_dump function contains length validation; test with a packet capture tool to ensure oversized frames are rejected.

Typical attack path

  1. Identify a BlueZ 5.42 system reachable via Bluetooth or local HCI interface
  2. Craft and transmit an oversized pin_code_reply_cp frame
  3. Trigger the overflow in pin_code_reply_dump to corrupt memory
  4. Crash the daemon or attempt further memory manipulation

How to detect it

Review bluetoothd logs and system crash reports for segmentation faults around HCI parsing; inspect network captures for anomalous pin_code_reply frames with oversized pin fields.

  • pin_code_reply_dump
  • pin_code_reply_cp
  • bluetoothd.*segfault

What your security team should do

  • Immediately update all BlueZ installations to a patched release
  • Disable Bluetooth services on systems that do not require them
  • Monitor for unusual HCI traffic or repeated bluetoothd crashes

The record

In BlueZ 5.42, a buffer overflow was observed in "pin_code_reply_dump" function in "tools/parser/hci.c" source file. The issue exists because "pin" array is overflowed by supplied parameter due to lack of boundary checks on size of the buffer from frame "pin_code_reply_cp *cp" parameter.

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 Desktop 12 SP3 bluez 0 5.13-5.7.1
SUSE:Linux Enterprise Desktop 12 SP4 bluez 0 5.13-5.7.1
SUSE:Linux Enterprise Module for Basesystem 15 bluez 0 5.48-5.8.1
SUSE:Linux Enterprise Module for Desktop Applications 15 bluez 0 5.48-5.8.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 SP3 bluez 0 5.13-5.7.1
SUSE:Linux Enterprise Server 12 SP4 bluez 0 5.13-5.7.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 Server for SAP Applications 12 SP3 bluez 0 5.13-5.7.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 bluez 0 5.13-5.7.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 bluez 0 5.13-5.4.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 bluez 0 5.13-5.7.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 bluez 0 5.13-5.7.1
SUSE:Linux Enterprise Workstation Extension 12 SP3 bluez 0 5.13-5.4.1
SUSE:Linux Enterprise Workstation Extension 12 SP3 bluez 0 5.13-5.7.1
SUSE:Linux Enterprise Workstation Extension 12 SP4 bluez 0 5.13-5.7.1
SUSE:Linux Enterprise Workstation Extension 15 bluez 0 5.48-5.8.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