{"id":"CVE-2016-9804","aliases":["DEBIAN-CVE-2016-9804","EUVD-2016-10605","GHSA-7f98-f74w-8q8j","MGASA-2019-0052","ROOT-OS-DEBIAN-12-CVE-2016-9804","SUSE-SU-2018:1778-1","SUSE-SU-2019:0510-1","UBUNTU-CVE-2016-9804","openSUSE-SU-2024:10657-1"],"status":"published","title":"In BlueZ 5.42, a buffer overflow was observed in \"commands_dump\" function in \"tools/parser/csr.c\"...","description":"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-\u003eptr\" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.","severity":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02523,"percentile":0.84967,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2016-12-03T06:28:00Z","modified":"2026-10-24T10:30:18Z","fixes":[{"ecosystem":"Root:Debian:12","package":"bluez","fixed_in":["5.66-1+deb12u2.root.io.10","5.66-1+deb12u2.root.io.14","5.66-1+deb12u2.root.io.16","5.66-1+deb12u2.root.io.13","5.66-1+deb12u2.root.io.11","5.66-1+deb12u2.root.io.12","5.66-1+deb12u2.root.io.15","5.66-1+deb12u2.aikido.17","5.66-1+deb12u2.aikido.18","5.66-1+deb12u2.aikido.19"],"sources":["osv"]},{"ecosystem":"Root:Debian:12","package":"rootio-bluez","fixed_in":["5.66-1+deb12u2.root.io.10","5.66-1+deb12u2.root.io.14","5.66-1+deb12u2.root.io.16","5.66-1+deb12u2.root.io.13","5.66-1+deb12u2.root.io.11","5.66-1+deb12u2.root.io.12","5.66-1+deb12u2.root.io.15","5.66-1+deb12u2.aikido.17","5.66-1+deb12u2.aikido.18","5.66-1+deb12u2.aikido.19"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.66-1","5.66-1+deb12u1","5.66-1+deb12u2","5.68-1","5.68-2","5.69-1","5.70-1","5.70-1.1","5.70-1.1~exp0","5.71-1","5.73-1","5.73-1.1","5.77-1","5.79-1","5.79-2","5.82-1","5.82-1.1","5.83-1","5.83-1~exp1","5.84-1","5.85-1","5.85-2","5.85-3","5.85-4","5.87-1","5.87-2","5.87-3"]},{"source":"osv","ecosystem":"Debian:13","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.82-1.1","5.83-1","5.83-1~exp1","5.84-1","5.85-1","5.85-2","5.85-3","5.85-4","5.87-1","5.87-2","5.87-3"]},{"source":"osv","ecosystem":"Debian:14","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.82-1.1","5.83-1","5.83-1~exp1","5.84-1","5.85-1","5.85-2","5.85-3","5.85-4","5.87-1","5.87-2","5.87-3"]},{"source":"osv","ecosystem":"Mageia:6","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.45-2.2.mga6"}]}],"bundled":3},{"source":"osv","ecosystem":"Root:Debian:12","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.66-1+deb12u2.root.io.10"},{"fixed":"5.66-1+deb12u2.root.io.14"},{"fixed":"5.66-1+deb12u2.root.io.16"},{"fixed":"5.66-1+deb12u2.root.io.13"},{"fixed":"5.66-1+deb12u2.root.io.11"},{"fixed":"5.66-1+deb12u2.root.io.12"},{"fixed":"5.66-1+deb12u2.root.io.15"},{"fixed":"5.66-1+deb12u2.aikido.17"},{"fixed":"5.66-1+deb12u2.aikido.18"},{"fixed":"5.66-1+deb12u2.aikido.19"}]}]},{"source":"osv","ecosystem":"Root:Debian:12","package":"rootio-bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.66-1+deb12u2.root.io.10"},{"fixed":"5.66-1+deb12u2.root.io.14"},{"fixed":"5.66-1+deb12u2.root.io.16"},{"fixed":"5.66-1+deb12u2.root.io.13"},{"fixed":"5.66-1+deb12u2.root.io.11"},{"fixed":"5.66-1+deb12u2.root.io.12"},{"fixed":"5.66-1+deb12u2.root.io.15"},{"fixed":"5.66-1+deb12u2.aikido.17"},{"fixed":"5.66-1+deb12u2.aikido.18"},{"fixed":"5.66-1+deb12u2.aikido.19"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.13-5.4.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.13-5.4.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.13-5.4.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.13-5.4.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.13-5.4.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.13-3.10.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.13-3.10.1"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.13-3.10.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.35-0ubuntu2","5.36-0ubuntu1","5.37-0ubuntu5","5.37-0ubuntu5.1","5.37-0ubuntu5.3","5.37-0ubuntu5.3+esm1","5.37-0ubuntu5.3+esm2","5.37-0ubuntu5.3+esm3","5.37-0ubuntu5.3+esm4","5.37-0ubuntu5.3+esm5","5.37-0ubuntu5.3+esm6"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.46-0ubuntu3","5.46-0ubuntu4","5.48-0ubuntu3","5.48-0ubuntu3.1","5.48-0ubuntu3.2","5.48-0ubuntu3.3","5.48-0ubuntu3.4","5.48-0ubuntu3.5","5.48-0ubuntu3.6","5.48-0ubuntu3.7","5.48-0ubuntu3.8","5.48-0ubuntu3.9","5.48-0ubuntu3.9+esm1","5.48-0ubuntu3.9+esm2","5.48-0ubuntu3.9+esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.50-0ubuntu4","5.51-0ubuntu1","5.51-0ubuntu2","5.52-0ubuntu1","5.52-0ubuntu2","5.53-0ubuntu1","5.53-0ubuntu2","5.53-0ubuntu3","5.53-0ubuntu3.1","5.53-0ubuntu3.2","5.53-0ubuntu3.3","5.53-0ubuntu3.4","5.53-0ubuntu3.5","5.53-0ubuntu3.6","5.53-0ubuntu3.7","5.53-0ubuntu3.8","5.53-0ubuntu3.9","5.53-0ubuntu3.9+esm1","5.53-0ubuntu3.9+esm2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.60-0ubuntu2","5.62-0ubuntu1","5.62-0ubuntu2","5.63-0ubuntu1","5.63-0ubuntu2","5.64-0ubuntu1","5.64-0ubuntu1.1","5.64-0ubuntu1.3","5.64-0ubuntu1.4","5.64-0ubuntu1.5","5.64-0ubuntu1.6"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.68-0ubuntu1","5.70-0ubuntu1","5.70-0ubuntu2","5.70-0ubuntu3","5.71-0ubuntu3","5.71-1ubuntu2","5.71-1ubuntu3","5.72-0ubuntu1","5.72-0ubuntu3","5.72-0ubuntu4","5.72-0ubuntu5","5.72-0ubuntu5.1","5.72-0ubuntu5.3","5.72-0ubuntu5.4","5.72-0ubuntu5.5","5.72-0ubuntu5.6","5.72-0ubuntu5.7","5.72-0ubuntu5.8"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.79-2ubuntu1","5.82-1","5.82-1ubuntu1","5.83-1~exp1","5.83-1~exp1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.85-4","5.85-4ubuntu1","5.87-1","5.87-2","5.87-3","5.87-4"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"bluez","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.83-1~exp1","5.84-1","5.85-1","5.85-2","5.85-3","5.85-4","5.85-4ubuntu0.1","5.85-4ubuntu0.2","5.85-4ubuntu0.3","5.85-4ubuntu0.4"]}],"products":[{"vendor":"bluez","product":"bluez"}],"references":[{"url":"https://www.spinics.net/lists/linux-bluetooth/msg68892.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"http://www.securityfocus.com/bid/94652","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9804"},{"url":"https://github.com/advisories/GHSA-7f98-f74w-8q8j"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-9804","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0052.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23219","tags":["report"]},{"url":"http://lists.suse.com/pipermail/sle-security-updates/2018-June/004212.html","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-updates/2018-12/msg00119.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20181778-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1013721","tags":["report"]},{"url":"https://bugzilla.suse.com/1013877","tags":["report"]},{"url":"https://bugzilla.suse.com/1026652","tags":["report"]},{"url":"https://bugzilla.suse.com/1057342","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-7837","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9800","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9804","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000250","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190510-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1013732","tags":["report"]},{"url":"https://bugzilla.suse.com/1015173","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9801","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9918","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-9804","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-9804","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2020-0556","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-9804","description":"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-\u003eptr\" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.","status":"published","published":"2016-12-03T06:28:00Z","modified":"2024-08-06T02:59:03.568Z","updated_at":"2026-11-02T14:33:31.764001Z"}],"euvd":[{"id":"EUVD-2016-10605","description":"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-\u003eptr\" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.","status":"published","published":"2016-12-03T06:28:00Z","modified":"2024-08-06T02:59:03Z","updated_at":"2026-11-03T02:22:26.376959Z"}],"ghsa":[{"id":"GHSA-7f98-f74w-8q8j","title":"In BlueZ 5.42, a buffer overflow was observed in \"commands_dump\" function in \"tools/parser/csr.c\"...","description":"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-\u003eptr\" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.","status":"published","published":"2022-05-17T03:24:12Z","modified":"2023-01-27T05:06:53Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:43:00.840976Z"}],"nvd":[{"id":"CVE-2016-9804","description":"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-\u003eptr\" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.","status":"published","published":"2016-12-03T06:59:09.513Z","modified":"2026-06-17T00:56:34.467Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:32.79141Z"}],"osv":[{"id":"CVE-2016-9804","description":"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-\u003eptr\" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.","status":"published","published":"2016-12-03T06:59:09.513Z","modified":"2026-10-24T10:30:18.75482166Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:03.472693Z"},{"id":"DEBIAN-CVE-2016-9804","description":"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-\u003eptr\" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.","status":"published","published":"2016-12-03T06:59:09.513Z","modified":"2026-09-22T07:01:47.942079218Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:45:28.207321Z"},{"id":"UBUNTU-CVE-2016-9804","description":"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-\u003eptr\" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.","status":"published","published":"2016-12-03T06:59:00Z","modified":"2026-10-17T12:52:55.27154457Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:54:13.356796Z"},{"id":"MGASA-2019-0052","title":"Updated bluez packages fix security vulnerability","description":"A buffer overflow in pin_code_reply_dump function (CVE-2016-9800).\n\nA buffer overflow in set_ext_ctrl function (CVE-2016-9801).\n\nA buffer overflow in commands_dump function (CVE-2016-9804).\n","status":"published","published":"2019-01-30T19:39:18Z","modified":"2026-04-16T06:23:58.366032169Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"openSUSE-SU-2024:10657-1","title":"bluez-5.61-1.5 on GA media","description":"These are all security issues fixed in the bluez-5.61-1.5 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:18:13.419996Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"ROOT-OS-DEBIAN-12-CVE-2016-9804","title":"CVE-2016-9804 in bluez - Patched by Root","description":"Root has patched CVE-2016-9804 in the bluez package for Root:Debian:12. Multiple fixed versions available.","status":"published","published":"2026-09-25T09:30:53Z","modified":"2026-09-25T10:15:03.489137914Z","updated_at":"2026-11-02T15:53:30.44348Z"},{"id":"SUSE-SU-2018:1778-1","title":"Security update for bluez","description":"This update for bluez fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2016-9800: Fix hcidump memory leak in pin_code_reply_dump() (bsc#1013721).\n- CVE-2016-9804: Fix hcidump buffer overflow in commands_dump() (bsc#1013877).\n- CVE-2016-7837: Fix possible buffer overflow, make sure we don't write past the end of the array (bsc#1026652).\n- CVE-2017-1000250: Fix information disclosure vulnerability in service_search_attr_req (bsc#1057342).\n","status":"published","published":"2018-06-21T08:41:05Z","modified":"2026-02-04T03:32:30.969978Z","updated_at":"2026-11-02T15:53:44.972817Z"},{"id":"SUSE-SU-2019:0510-1","title":"Security update for bluez","description":"This update for bluez fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2016-7837: Fixed possible buffer overflow, make sure we don't write past the end of the array.(bsc#1026652)\n- CVE-2016-9800: Fix hcidump memory leak in pin_code_reply_dump() (bsc#1013721).\n- CVE-2016-9801: Fixed a buffer overflow in set_ext_ctrl function (bsc#1013732)\n- CVE-2016-9804: Fix hcidump buffer overflow in commands_dump() (bsc#1013877).\n- CVE-2016-9918: Fixed an out-of-bounds read in packet_hexdump() (bsc#1015173)\n- CVE-2017-1000250: Fixed a information leak in SDP (part of the recently published BlueBorne vulnerabilities) (bsc#1057342)\n","status":"published","published":"2019-02-28T08:53:14Z","modified":"2026-02-04T04:02:50.920478Z","updated_at":"2026-11-02T15:53:45.926331Z"}]}}
