Skip to content
Fencer Vulns
medium 4.3

CVE-2021-41229 json

Memory leak in BlueZ

published 2021-11-12 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-28288

cvss
4.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 68%
public exploits
0
none known

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.

Patch / fix

  • bluez Debian 14, Debian 13, Debian 12 5.62-2

debian advisories DEBIAN-CVE-2021-41229

  • bluez Ubuntu 18.04 LTS 5.48-0ubuntu3.6
  • bluez Ubuntu 20.04 LTS 5.53-0ubuntu3.4
  • bluez Ubuntu 22.04 LTS 5.62-0ubuntu2

ubuntu advisories UBUNTU-CVE-2021-41229

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • bluez RHEL 8 5.56-3.el8
  • bluez-cups RHEL 8 5.56-3.el8
  • bluez-libs RHEL 8 5.56-3.el8
  • bluez-obexd RHEL 8 5.56-3.el8
  • bluez-hid2hci RHEL 8 5.56-3.el8

red hat advisories RHSA-2022:2081

  • bluez SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 5.13-5.42.2
  • bluez Manager Server 4.2, Manager Proxy 4.2 5.55-150300.3.25.1
  • bluez SLE Workstation Extension 15 SP4, SLE Module for Desktop Applications 15 SP4, SLE Module for Basesystem 15 SP4 +5 more 5.62-150400.4.16.1
  • bluez SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS 5.48-150200.13.30.1
  • bluez SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 5.48-150000.5.54.1

suse advisories SUSE-SU-2024:0167-1SUSE-SU-2024:0166-1SUSE-SU-2023:3689-1SUSE-SU-2023:3240-1SUSE-SU-2023:3238-1

  • bluez AlmaLinux 8 5.56-3.el8
  • bluez-cups AlmaLinux 8 5.56-3.el8
  • bluez-libs AlmaLinux 8 5.56-3.el8
  • bluez-obexd AlmaLinux 8 5.56-3.el8
  • bluez-hid2hci AlmaLinux 8 5.56-3.el8

almalinux advisories ALSA-2022:2081

  • bluez Rocky Linux 8 5.56-3.el8

rocky linux advisories RLSA-2022:2081

  • bluez Arch Linux 5.63-1

arch linux advisories AVG-2553

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-41229 updated cvss 4.3

bluez: memory leak in the SDP protocol

  • Red Hat Enterprise Linux 6 bluez, bluez-alsa, bluez-cups, bluez-libs, bluez-compat, bluez-gstreamer Red Hat Enterprise Linux 7 bluez, bluez-cups, bluez-libs, bluez-hid2hci
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) bluez-cups 5.56-3.el8 Red Hat Enterprise Linux BaseOS (v. 8) bluez 5.56-3.el8, bluez-libs 5.56-3.el8, bluez-obexd 5.56-3.el8, bluez-hid2hci 5.56-3.el8 Red Hat Enterprise Linux CRB (v. 8) bluez-debuginfo 5.56-3.el8, bluez-libs-devel 5.56-3.el8, bluez-debugsource 5.56-3.el8, bluez-cups-debuginfo 5.56-3.el8, bluez-libs-debuginfo 5.56-3.el8, bluez-obexd-debuginfo 5.56-3.el8, +1 more
    fixed: vendor fix RHSA-2022:2081
  • Red Hat Enterprise Linux 9 bluez, bluez-cups, bluez-libs, bluez-obexd
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.18% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/bluez/bluez/security/advisories/GHSA-3fqg-r8j5-f5xq referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 4.3 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 6.5 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 3.3 AV:A/AC:L/Au:N/C:N/I:N/A:P

Affected products

  • bluez bluez

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
  • CWE-401 Missing Release of Memory after Effective Lifetime

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.