# CVE-2021-41229: Memory leak in BlueZ

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-12T00:00:00.000Z
- Modified: 2026-06-17T04:08:08.353Z
- Weaknesses: CWE-400, CWE-401
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- bluez bluez: = 5.58; 5.58
- debian debian_linux: 9.0; 10.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 3.3 Low `AV:A/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/bluez/bluez/security/advisories/GHSA-3fqg-r8j5-f5xq> (exploit, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00022.html> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20211203-0004/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/10/msg00026.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00022.html>

## Sources

- CVE List: [CVE-2021-41229](https://www.cve.org/CVERecord?id=CVE-2021-41229), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2021-41229](https://nvd.nist.gov/vuln/detail/CVE-2021-41229), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41229 · Whole record: https://cve.day/CVE-2021-41229.json · Rebuilt by cve.day 2026-11-25T22:58:05.553Z
