Every CVE Search/ Get API key

CVE-2021-43400

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a...

9.1 CriticalFix available

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Exploit likelihood

1.66%Up 1.2 points since Nov 5, 2021
90%50%10%1%

What each source reports

NVD Score used 9.1

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.

Record
CVE-2021-43400
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:P/I:P/A:N
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.

Record
CVE-2021-43400
Updated
2026-11-02
EUVDEUVD-2021-30335 No score

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.

Record
EUVD-2021-30335
Updated
2026-11-02
GitHub AdvisoriesGHSA-xgf8-98pj-cm5c 9.1

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a...

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.

Record
GHSA-xgf8-98pj-cm5c
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-416
Updated
2026-11-02
OSV 9.1

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.

Record
CVE-2021-43400
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2021-43400 9.1

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.

Record
DEBIAN-CVE-2021-43400
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
Show 8 moreShow less
OSVOESA-2022-1527 9.1

bluez security update

This package provides all utilities for use in Bluetooth applications. The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.

Security Fix(es):

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.(CVE-2021-43400)

Record
OESA-2022-1527
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVOESA-2022-2047 9.1

bluez security update

This package provides all utilities for use in Bluetooth applications. The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.

Security Fix(es):

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.(CVE-2021-43400)

Improper access control in BlueZ may allow an authenticated user to potentially enable information disclosure via adjacent access.(CVE-2021-0129)

Record
OESA-2022-2047
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2021-43400 9.1

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.

Record
UBUNTU-CVE-2021-43400
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVMGASA-2021-0532 No score

Updated bluez packages fix security vulnerability

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. (CVE-2021-41229)

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call. (CVE-2021-43400)

Record
MGASA-2021-0532
Updated
2026-11-02
OSVSUSE-SU-2022:3687-1 No score

Security update for bluez

This update for bluez fixes the following issues:

  • CVE-2021-0129: Fixed improper access control (bsc#1186463).
  • CVE-2020-26558: Fixed vulnerability that may permit a nearby man-in-the-middle attacker to identify the Passkey (bsc#1186463).
  • CVE-2019-8921: Fixed heap-based buffer overflow via crafted request (bsc#1193237).
  • CVE-2019-8922: Fixed heap-based buffer overflow via crafted request (bsc#1193227).
  • CVE-2021-3658: Fixed adapter incorrectly restoring discoverable state after powered down (bsc#1188859).
  • CVE-2021-43400: Fixed use-after-free in gatt-database.c (bsc#1192394).
Record
SUSE-SU-2022:3687-1
Updated
2026-11-02
OSVSUSE-SU-2022:3691-1 No score

Security update for bluez

This update for bluez fixes the following issues:

  • CVE-2019-8921: Fixed heap-based buffer overflow via crafted request (bsc#1193237).
  • CVE-2019-8922: Fixed heap-based buffer overflow via crafted request (bsc#1193227).
  • CVE-2020-26558: Fixed vulnerability that may permit a nearby man-in-the-middle attacker to identify the Passkey (bsc#1186463).
  • CVE-2021-0129: Fixed improper access control (bsc#1186463).
  • CVE-2021-3658: Fixed adapter incorrectly restoring discoverable state after powered down (bsc#1188859).
  • CVE-2021-43400: Fixed use-after-free in gatt-database.c (bsc#1192394).
Record
SUSE-SU-2022:3691-1
Updated
2026-11-02
OSVSUSE-SU-2022:3981-1 No score

Security update for bluez

This update for bluez fixes the following issues:

  • CVE-2021-43400: Fixed use-after-free in gatt-database.c (bsc#1192394).
  • CVE-2021-3658: Fixed adapter incorrectly restoring discoverable state after powered down (bsc#1188859).
Record
SUSE-SU-2022:3981-1
Updated
2026-11-02
OSVUSN-5155-1 No score

bluez vulnerabilities

It was discovered that BlueZ incorrectly handled the Discoverable status when a device is powered down. This could result in devices being powered up discoverable, contrary to expectations. This issue only affected Ubuntu 20.04 LTS, Ubuntu 21.04, and Ubuntu 21.10. (CVE-2021-3658)

It was discovered that BlueZ incorrectly handled certain memory operations. A remote attacker could possibly use this issue to cause BlueZ to consume resources, leading to a denial of service. (CVE-2021-41229)

It was discovered that the BlueZ gatt server incorrectly handled disconnects. A remote attacker could possibly use this issue to cause BlueZ to crash, leading to a denial of service. (CVE-2021-43400)

Record
USN-5155-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
bluez
Debian:12
before 5.62-1
5.62-1
bluez
Debian:13
before 5.62-1
5.62-1
bluez
Debian:14
before 5.62-1
5.62-1
bluez
Debian:10
From an advisory covering 7 CVEs
before 5.50-1.2~deb10u3, plus listed versions
5.50-15.50-1.15.50-1.2~deb10u15.50-1.2~deb10u2
5.50-1.2~deb10u3
bluez
Debian:11
From an advisory covering 9 CVEs
before 5.55-3.1+deb11u2, plus listed versions
5.55-3.15.55-3.1+deb11u1
5.55-3.1+deb11u2
bluez
Mageia:8
From an advisory covering 2 CVEs
before 5.55-3.3.mga8
5.55-3.3.mga8
bluez
openEuler:20.03-LTS-SP1
before 5.54-7.oe1
5.54-7.oe1
bluez
openEuler:20.03-LTS-SP2
before 5.54-7.oe1
5.54-7.oe1
bluez
openEuler:20.03-LTS-SP3
before 5.54-7.oe1
5.54-7.oe1
bluez
openEuler:22.03-LTS
From an advisory covering 2 CVEs
before 5.54-15.oe2203
5.54-15.oe2203
Show 28 moreShow less
Affected packages
PackageAffectedFixed
bluez
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Linux Enterprise High Performance Computing 15-LTSS
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Linux Enterprise Server 15-LTSS
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Linux Enterprise Server 15 SP1-BCL
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Linux Enterprise Server 15 SP1-LTSS
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Linux Enterprise Server for SAP Applications 15
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Enterprise Storage 6
From an advisory covering 6 CVEs
before 5.48-150000.5.41.1
5.48-150000.5.41.1
bluez
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS
From an advisory covering 6 CVEs
before 5.48-150200.13.17.1
5.48-150200.13.17.1
bluez
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
From an advisory covering 6 CVEs
before 5.48-150200.13.17.1
5.48-150200.13.17.1
bluez
SUSE:Linux Enterprise Server 15 SP2-BCL
From an advisory covering 6 CVEs
before 5.48-150200.13.17.1
5.48-150200.13.17.1
bluez
SUSE:Linux Enterprise Server 15 SP2-LTSS
From an advisory covering 6 CVEs
before 5.48-150200.13.17.1
5.48-150200.13.17.1
bluez
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
From an advisory covering 6 CVEs
before 5.48-150200.13.17.1
5.48-150200.13.17.1
bluez
SUSE:Manager Proxy 4.1
From an advisory covering 6 CVEs
before 5.48-150200.13.17.1
5.48-150200.13.17.1
bluez
SUSE:Manager Retail Branch Server 4.1
From an advisory covering 6 CVEs
before 5.48-150200.13.17.1
5.48-150200.13.17.1
bluez
SUSE:Manager Server 4.1
From an advisory covering 6 CVEs
before 5.48-150200.13.17.1
5.48-150200.13.17.1
bluez
SUSE:Enterprise Storage 7
From an advisory covering 6 CVEs
before 5.48-150200.13.17.1
5.48-150200.13.17.1
bluez
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 2 CVEs
before 5.55-150300.3.14.1
5.55-150300.3.14.1
bluez
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3
From an advisory covering 2 CVEs
before 5.55-150300.3.14.1
5.55-150300.3.14.1
bluez
SUSE:Linux Enterprise Workstation Extension 15 SP3
From an advisory covering 2 CVEs
before 5.55-150300.3.14.1
5.55-150300.3.14.1
bluez
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 5.55-150300.3.14.1
5.55-150300.3.14.1
bluez
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
5.35-0ubuntu25.36-0ubuntu15.37-0ubuntu55.37-0ubuntu5.15.37-0ubuntu5.3
Show 6 moreShow less
5.37-0ubuntu5.3+esm15.37-0ubuntu5.3+esm25.37-0ubuntu5.3+esm35.37-0ubuntu5.3+esm45.37-0ubuntu5.3+esm55.37-0ubuntu5.3+esm6
None known
bluez
Ubuntu:18.04:LTS
before 5.48-0ubuntu3.6, plus listed versions
5.46-0ubuntu35.46-0ubuntu45.48-0ubuntu35.48-0ubuntu3.15.48-0ubuntu3.25.48-0ubuntu3.35.48-0ubuntu3.45.48-0ubuntu3.5
5.48-0ubuntu3.6
bluez
Ubuntu:20.04:LTS
before 5.53-0ubuntu3.4, plus listed versions
5.50-0ubuntu45.51-0ubuntu15.51-0ubuntu25.52-0ubuntu15.52-0ubuntu2
Show 6 moreShow less
5.53-0ubuntu15.53-0ubuntu25.53-0ubuntu35.53-0ubuntu3.15.53-0ubuntu3.25.53-0ubuntu3.3
5.53-0ubuntu3.4
bluez
Ubuntu:18.04:LTS
From an advisory covering 3 CVEs
before 5.48-0ubuntu3.6, plus listed versions
5.46-0ubuntu35.46-0ubuntu45.48-0ubuntu35.48-0ubuntu3.15.48-0ubuntu3.25.48-0ubuntu3.35.48-0ubuntu3.45.48-0ubuntu3.5
5.48-0ubuntu3.6
bluez
Ubuntu:20.04:LTS
From an advisory covering 3 CVEs
before 5.53-0ubuntu3.4, plus listed versions
5.50-0ubuntu45.51-0ubuntu15.51-0ubuntu25.52-0ubuntu15.52-0ubuntu2
Show 6 moreShow less
5.53-0ubuntu15.53-0ubuntu25.53-0ubuntu35.53-0ubuntu3.15.53-0ubuntu3.25.53-0ubuntu3.3
5.53-0ubuntu3.4

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-43400 is a critical vulnerability (CVSS 9.1) in Bluez, published November 4, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.66%, the 76th percentile. Fixed in bluez 5.62-1.

References

Show 24 moreShow less
MoveEnter Open