bluez — security advisory
BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.
- Products
- bluez
- Affected 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, 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.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.60-0ubuntu2, 5.62-0ubuntu1
- Fixed versions
- 5.48-0ubuntu3.6, 5.53-0ubuntu3.4, 5.62-0ubuntu2
- CVEs
- CVE-2021-41229
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 10:37 UTC · Revision 1
Source evidence
BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.
osv:UBUNTU-CVE-2021-41229
bluez
Fixed versions: Not specified
bluez
Fixed versions: 5.48-0ubuntu3.6
bluez
Fixed versions: 5.53-0ubuntu3.4
bluez
Fixed versions: 5.62-0ubuntu2
Complete source record
{
"id": "cd9f76640d064ea428746e2a4ff3defa47f2119f04735ce877745a4b641d94d0",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-41229",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-41229",
"summary": "BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.",
"evidence": "osv:UBUNTU-CVE-2021-41229",
"products": [
{
"name": {
"value": "bluez",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.35-0ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "5.36-0ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "5.37-0ubuntu5",
"evidence": "/affected/0/versions"
},
{
"value": "5.37-0ubuntu5.1",
"evidence": "/affected/0/versions"
},
{
"value": "5.37-0ubuntu5.3",
"evidence": "/affected/0/versions"
},
{
"value": "5.37-0ubuntu5.3+esm1",
"evidence": "/affected/0/versions"
},
{
"value": "5.37-0ubuntu5.3+esm2",
"evidence": "/affected/0/versions"
},
{
"value": "5.37-0ubuntu5.3+esm3",
"evidence": "/affected/0/versions"
},
{
"value": "5.37-0ubuntu5.3+esm4",
"evidence": "/affected/0/versions"
},
{
"value": "5.37-0ubuntu5.3+esm5",
"evidence": "/affected/0/versions"
},
{
"value": "5.37-0ubuntu5.3+esm6",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "bluez",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.48-0ubuntu3.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "5.46-0ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "5.46-0ubuntu4",
"evidence": "/affected/1/versions"
},
{
"value": "5.48-0ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "5.48-0ubuntu3.1",
"evidence": "/affected/1/versions"
},
{
"value": "5.48-0ubuntu3.2",
"evidence": "/affected/1/versions"
},
{
"value": "5.48-0ubuntu3.3",
"evidence": "/affected/1/versions"
},
{
"value": "5.48-0ubuntu3.4",
"evidence": "/affected/1/versions"
},
{
"value": "5.48-0ubuntu3.5",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "bluez",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.53-0ubuntu3.4",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "5.50-0ubuntu4",
"evidence": "/affected/2/versions"
},
{
"value": "5.51-0ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "5.51-0ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "5.52-0ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "5.52-0ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "5.53-0ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "5.53-0ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "5.53-0ubuntu3",
"evidence": "/affected/2/versions"
},
{
"value": "5.53-0ubuntu3.1",
"evidence": "/affected/2/versions"
},
{
"value": "5.53-0ubuntu3.2",
"evidence": "/affected/2/versions"
},
{
"value": "5.53-0ubuntu3.3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "bluez",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.62-0ubuntu2",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": [
{
"value": "5.60-0ubuntu2",
"evidence": "/affected/3/versions"
},
{
"value": "5.62-0ubuntu1",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2021-41229",
"aliases": [
"UBUNTU-CVE-2021-41229"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "low"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bluez",
"purl": "pkg:deb/ubuntu/bluez?arch=source&distro=esm-infra-legacy%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41229.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bluetooth",
"binary_version": "5.37-0ubuntu5.3+esm6"
},
{
"binary_name": "bluez",
"binary_version": "5.37-0ubuntu5.3+esm6"
},
{
"binary_name": "bluez-cups",
"binary_version": "5.37-0ubuntu5.3+esm6"
},
{
"binary_name": "bluez-hcidump",
"binary_version": "5.37-0ubuntu5.3+esm6"
},
{
"binary_name": "bluez-obexd",
"binary_version": "5.37-0ubuntu5.3+esm6"
},
{
"binary_name": "bluez-tests",
"binary_version": "5.37-0ubuntu5.3+esm6"
},
{
"binary_name": "libbluetooth3",
"binary_version": "5.37-0ubuntu5.3+esm6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.48-0ubuntu3.6"
}
]
}
],
"package": {
"name": "bluez",
"purl": "pkg:deb/ubuntu/bluez?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41229.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bluetooth",
"binary_version": "5.48-0ubuntu3.6"
},
{
"binary_name": "bluez",
"binary_version": "5.48-0ubuntu3.6"
},
{
"binary_name": "bluez-cups",
"binary_version": "5.48-0ubuntu3.6"
},
{
"binary_name": "bluez-hcidump",
"binary_version": "5.48-0ubuntu3.6"
},
{
"binary_name": "bluez-obexd",
"binary_version": "5.48-0ubuntu3.6"
},
{
"binary_name": "bluez-tests",
"binary_version": "5.48-0ubuntu3.6"
},
{
"binary_name": "libbluetooth3",
"binary_version": "5.48-0ubuntu3.6"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.53-0ubuntu3.4"
}
]
}
],
"package": {
"name": "bluez",
"purl": "pkg:deb/ubuntu/bluez?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41229.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bluetooth",
"binary_version": "5.53-0ubuntu3.4"
},
{
"binary_name": "bluez",
"binary_version": "5.53-0ubuntu3.4"
},
{
"binary_name": "bluez-cups",
"binary_version": "5.53-0ubuntu3.4"
},
{
"binary_name": "bluez-hcidump",
"binary_version": "5.53-0ubuntu3.4"
},
{
"binary_name": "bluez-obexd",
"binary_version": "5.53-0ubuntu3.4"
},
{
"binary_name": "bluez-tests",
"binary_version": "5.53-0ubuntu3.4"
},
{
"binary_name": "libbluetooth3",
"binary_version": "5.53-0ubuntu3.4"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.62-0ubuntu2"
}
]
}
],
"package": {
"name": "bluez",
"purl": "pkg:deb/ubuntu/bluez?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"5.60-0ubuntu2",
"5.62-0ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41229.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bluetooth",
"binary_version": "5.62-0ubuntu2"
},
{
"binary_name": "bluez",
"binary_version": "5.62-0ubuntu2"
},
{
"binary_name": "bluez-cups",
"binary_version": "5.62-0ubuntu2"
},
{
"binary_name": "bluez-hcidump",
"binary_version": "5.62-0ubuntu2"
},
{
"binary_name": "bluez-meshd",
"binary_version": "5.62-0ubuntu2"
},
{
"binary_name": "bluez-obexd",
"binary_version": "5.62-0ubuntu2"
},
{
"binary_name": "bluez-tests",
"binary_version": "5.62-0ubuntu2"
},
{
"binary_name": "libbluetooth3",
"binary_version": "5.62-0ubuntu2"
}
],
"availability": "No subscription required"
}
}
],
"modified": "2026-10-09T01:45:16.286155603Z",
"provider": "osv",
"upstream": [
"CVE-2021-41229"
],
"references": [
"https://ubuntu.com/security/CVE-2021-41229",
"https://github.com/bluez/bluez/security/advisories/GHSA-3fqg-r8j5-f5xq",
"https://ubuntu.com/security/notices/USN-5155-1",
"https://www.cve.org/CVERecord?id=CVE-2021-41229"
]
},
"related_cves": [
{
"value": "CVE-2021-41229",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 108234,
"published_at": "2021-11-12T23:15:00+00:00"
}