CVE-2016-9798
Medium · 5.3CVSS
5.3
EPSS
3.9%
Published
Dec 3, 2016
CISA due date
—
Cloudanix analysis
A problem in older Bluetooth software can make a troubleshooting tool crash when it tries to read certain bad data files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Use-after-free in conf_opt during parsing of malformed L2CAP data in hcidump leads to process crash.
Why it matters to the business
Bluetooth diagnostic and analysis workflows can be disrupted by malformed input files, with limited operational impact given the age and low exploitability of the flaw.
How an attack unfolds
An attacker supplies a specially crafted corrupted dump file to the hcidump parser; when the tool processes the file the use-after-free triggers and crashes the process. No named threat actors or ransomware campaigns are associated with this issue.
How to fix it
Upgrade to a maintained BlueZ release that addresses the parser flaw; avoid processing untrusted or externally supplied dump files with older hcidump binaries.
How to confirm the fix worked
Confirm the installed BlueZ version is newer than 5.42 and test hcidump against known-good and known-malformed sample files to verify absence of crash.
Typical attack path
- Craft a malformed L2CAP dump file that triggers the vulnerable code path in conf_opt
- Deliver the file to a target system running the affected BlueZ hcidump tool
- Induce the victim to open or process the file with hcidump
- Observe process crash resulting from the use-after-free
How to detect it
Review system logs and crash reports for unexpected hcidump terminations while processing L2CAP parser input; no widespread in-the-wild exploitation indicators have been observed.
What your security team should do
- Inventory systems running BlueZ and identify any instances still using version 5.42 or earlier
- Replace or update BlueZ packages to current maintained releases
- Restrict hcidump usage to trusted input sources only
- Monitor EPSS and exploit availability trends for any future increase in risk
The record
In BlueZ 5.42, a use-after-free was identified in "conf_opt" function in "tools/parser/l2cap.c" source file. 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 |
| SUSE:Linux Enterprise Desktop 12 SP3 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Desktop 12 SP4 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Desktop 12 SP4 | bluez | 0 | 5.13-5.15.3 |
| SUSE:Linux Enterprise Module for Basesystem 15 | bluez | 0 | 5.48-5.16.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 | bluez | 0 | 5.48-5.19.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP1 | bluez | 0 | 5.48-5.16.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP1 | bluez | 0 | 5.48-5.19.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 | bluez | 0 | 5.48-5.16.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 | bluez | 0 | 5.48-5.19.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 | bluez | 0 | 5.48-5.16.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 | bluez | 0 | 5.48-5.19.1 |
| SUSE:Linux Enterprise Server 12 SP3 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Server 12 SP4 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Server 12 SP4 | bluez | 0 | 5.13-5.15.3 |
| SUSE:Linux Enterprise Server 12 SP5 | bluez | 0 | 5.13-5.15.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | bluez | 0 | 5.13-5.15.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | bluez | 0 | 5.13-5.15.3 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP4 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP4 | bluez | 0 | 5.13-5.15.3 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | bluez | 0 | 5.13-5.15.3 |
| SUSE:Linux Enterprise Workstation Extension 12 SP3 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP4 | bluez | 0 | 5.13-5.12.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP4 | bluez | 0 | 5.13-5.15.3 |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | bluez | 0 | 5.13-5.15.3 |
| SUSE:Linux Enterprise Workstation Extension 15 | bluez | 0 | 5.48-5.16.1 |
| SUSE:Linux Enterprise Workstation Extension 15 | bluez | 0 | 5.48-5.19.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP1 | bluez | 0 | 5.48-5.16.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP1 | bluez | 0 | 5.48-5.19.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 |
| openSUSE:Leap 15.0 | bluez | 0 | 5.48-lp151.8.3.1 |
| openSUSE:Leap 15.0 | bluez | 0 | 5.48-lp150.4.16.1 |
| openSUSE:Leap 15.1 | bluez | 0 | 5.48-lp151.8.3.1 |
| openSUSE:Leap 15.1 | bluez | 0 | 5.48-lp151.8.6.1 |
Related vulnerabilities
- CVE-2023-27349 BlueZ Audio Profile AVRCP Improper Validation of Array Index Remote Code Execution… Also affects bluez
- CVE-2023-45866 Bluetooth HID Hosts in BlueZ may permit an unauthenticated Peripheral role HID Device to… Also affects bluez
- CVE-2022-39176 BlueZ before 5.59 allows physically proximate attackers to obtain sensitive information… Also affects bluez
- CVE-2022-39177 BlueZ before 5.59 allows physically proximate attackers to cause a denial of service… Also affects bluez
- CVE-2022-0204 A heap overflow vulnerability was found in bluez in versions prior to 5.63. Also affects bluez
- CVE-2019-8921 An issue was discovered in bluetoothd in BlueZ through 5.48. Also affects bluez
- CVE-2019-8922 A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48. Also affects bluez
- CVE-2020-27153 In BlueZ before 5.55, a double free was found in the gatttool disconnect_cb() routine… Also affects bluez