CVE-2016-9804 json
In BlueZ 5.42, a buffer overflow was observed in "commands_dump" function in "tools/parser/csr.c" source file.
published 2016-12-03 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-10605
- cvss
- 5.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bluez SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +2 more 5.13-5.4.1
- bluez SLES for SAP 12 SP1, SLES 12-LTSS, SLES 12 SP1-LTSS 5.13-3.10.1
suse advisories SUSE-SU-2019:0510-1SUSE-SU-2018:1778-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-9804 updated cvss 2.5
bluez: buffer overflow in commands_dump()
-
Red Hat Enterprise Linux 5 bluez-hcidump Red Hat Enterprise Linux 6 bluez, bluez-alsa, bluez-cups, bluez-libs, bluez-compat, bluez-gstreamer Red Hat Enterprise Linux 7 bluez, bluez-cups, bluez-libs, bluez-hid2hciaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.52% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- spinics.net https://www.spinics.net/lists/linux-bluetooth/msg68892.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
spinics.net
/lists/linux-bluetooth/msg68892.html
exploit, third-party-advisory
-
securityfocus.com
/bid/94652
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2016-9804
- NVD CVE-2016-9804
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.