Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-9804
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:28 UTC · Revision 1
Source evidence
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.
osv:CVE-2016-9804
Complete source record
{
"id": "49614ccb81c6bc7f7b729c10910646cdcfaab8199be792137fa8cc5a3f2537ce",
"url": "https://osv.dev/vulnerability/CVE-2016-9804",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-9804",
"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.",
"evidence": "osv:CVE-2016-9804",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2016-9804",
"aliases": [
"CVE-2016-9804"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bluez/bluez",
"type": "GIT",
"events": [
{
"introduced": "dcbc28940118a14ce175153e5f006551600e9244"
},
{
"last_affected": "dcbc28940118a14ce175153e5f006551600e9244"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:bluez:bluez:5.42:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.42"
},
{
"last_affected": "5.42"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"5.42"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9804.json"
}
}
],
"modified": "2026-10-24T10:30:18.754821660Z",
"provider": "osv",
"references": [
"https://www.spinics.net/lists/linux-bluetooth/msg68892.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-9804",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429847,
"published_at": "2016-12-03T06:59:09.513+00:00"
}