CVEfocus › CVE database › CVE-2021-41229

CVE-2021-41229Memory leak in BlueZ

CVSS 4.3 MediumEPSS 1.2% (higher than 68% of CVEs)Published 2021-11-12Updated 2025-11-04Assigner: GitHub_M

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.

CWE-400

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed
2Fix pending
12Will not fix
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04bluezFixed5.62-0ubuntu2UBUNTU-CVE-2021-41229
Ubuntu 20.04bluezFixed5.53-0ubuntu3.4UBUNTU-CVE-2021-41229
Ubuntu 18.04bluezFixed5.48-0ubuntu3.6UBUNTU-CVE-2021-41229
Ubuntu 16.04bluezFix pendingUBUNTU-CVE-2021-41229
Ubuntu 14.04bluezFix pending
Debian 14bluezFixed5.62-2DEBIAN-CVE-2021-41229
Debian 13bluezFixed5.62-2DEBIAN-CVE-2021-41229
Debian 12bluezFixed5.62-2DEBIAN-CVE-2021-41229
Red Hat Enterprise Linux 9bluezNot affected
Red Hat Enterprise Linux 9bluez-cupsNot affected
Red Hat Enterprise Linux 9bluez-libsNot affected
Red Hat Enterprise Linux 9bluez-libs-develNot affected
Red Hat Enterprise Linux 9bluez-obexdNot affected
Red Hat Enterprise Linux 8bluezFixed0:5.56-3.el8RHSA-2022:2081
Red Hat Enterprise Linux 8bluez-cupsFixed0:5.56-3.el8RHSA-2022:2081
Red Hat Enterprise Linux 8bluez-hid2hciFixed0:5.56-3.el8RHSA-2022:2081
Red Hat Enterprise Linux 8bluez-libsFixed0:5.56-3.el8RHSA-2022:2081
Red Hat Enterprise Linux 8bluez-libs-develFixed0:5.56-3.el8RHSA-2022:2081
Red Hat Enterprise Linux 8bluez-obexdFixed0:5.56-3.el8RHSA-2022:2081
Red Hat Enterprise Linux 7bluezWill not fix
Out of support scope
Red Hat Enterprise Linux 7bluez-cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 7bluez-hid2hciWill not fix
Out of support scope
Red Hat Enterprise Linux 7bluez-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7bluez-libs-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluezWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-alsaWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-compatWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-gstreamerWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-libs-develWill not fix
Out of support scope
AlmaLinux 8bluezFixed5.56-3.el8ALSA-2022:2081
AlmaLinux 8bluez-cupsFixed5.56-3.el8ALSA-2022:2081
AlmaLinux 8bluez-hid2hciFixed5.56-3.el8ALSA-2022:2081
AlmaLinux 8bluez-libsFixed5.56-3.el8ALSA-2022:2081
AlmaLinux 8bluez-libs-develFixed5.56-3.el8ALSA-2022:2081
AlmaLinux 8bluez-obexdFixed5.56-3.el8ALSA-2022:2081
Rocky Linux 8bluezFixed0:5.56-3.el8RLSA-2022:2081

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.