CVE-2021-43400
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.
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
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 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - CVSS 2.0
- 6.4 Medium
AV: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
bluezDebian:12 |
before 5.62-1 | 5.62-1 |
bluezDebian:13 |
before 5.62-1 | 5.62-1 |
bluezDebian:14 |
before 5.62-1 | 5.62-1 |
bluezDebian: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 |
bluezDebian: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 |
bluezMageia:8 From an advisory covering 2 CVEs |
before 5.55-3.3.mga8 | 5.55-3.3.mga8 |
bluezopenEuler:20.03-LTS-SP1 |
before 5.54-7.oe1 | 5.54-7.oe1 |
bluezopenEuler:20.03-LTS-SP2 |
before 5.54-7.oe1 | 5.54-7.oe1 |
bluezopenEuler:20.03-LTS-SP3 |
before 5.54-7.oe1 | 5.54-7.oe1 |
bluezopenEuler:22.03-LTS From an advisory covering 2 CVEs |
before 5.54-15.oe2203 | 5.54-15.oe2203 |
Show 28 moreShow less
| Package | Affected | Fixed |
|---|---|---|
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE:Linux Enterprise Server 15-LTSS From an advisory covering 6 CVEs |
before 5.48-150000.5.41.1 | 5.48-150000.5.41.1 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE:Enterprise Storage 6 From an advisory covering 6 CVEs |
before 5.48-150000.5.41.1 | 5.48-150000.5.41.1 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE:Manager Proxy 4.1 From an advisory covering 6 CVEs |
before 5.48-150200.13.17.1 | 5.48-150200.13.17.1 |
bluezSUSE: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 |
bluezSUSE:Manager Server 4.1 From an advisory covering 6 CVEs |
before 5.48-150200.13.17.1 | 5.48-150200.13.17.1 |
bluezSUSE:Enterprise Storage 7 From an advisory covering 6 CVEs |
before 5.48-150200.13.17.1 | 5.48-150200.13.17.1 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezSUSE: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 |
bluezopenSUSE:Leap 15.3 From an advisory covering 2 CVEs |
before 5.55-150300.3.14.1 | 5.55-150300.3.14.1 |
bluezUbuntu: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 less5.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 |
bluezUbuntu: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 |
bluezUbuntu: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 less5.53-0ubuntu15.53-0ubuntu25.53-0ubuntu35.53-0ubuntu3.15.53-0ubuntu3.25.53-0ubuntu3.3 |
5.53-0ubuntu3.4 |
bluezUbuntu: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 |
bluezUbuntu: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 less5.53-0ubuntu15.53-0ubuntu25.53-0ubuntu35.53-0ubuntu3.15.53-0ubuntu3.25.53-0ubuntu3.3 |
5.53-0ubuntu3.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE 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
git.kernel.org/pub/scm/bluetooth/bluez.git/commit?id=838c0dc7641e1c991c0f3027bf94bee4606012f8
lists.debian.org/debian-lts-announce/2022/10/msg00026.html
lists.debian.org/debian-lts-announce/2024/09/msg00022.html
nvd.nist.gov/vuln/detail/CVE-2021-43400
github.com/advisories/GHSA-xgf8-98pj-cm5c
security-tracker.debian.org/tracker/CVE-2021-43400
Show 24 moreShow less
advisories.mageia.org/MGASA-2021-0532.html
bugs.mageia.org/show_bug.cgi?id=29694
ubuntu.com/security/notices/USN-5155-1
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1527
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2047
nvd.nist.gov/vuln/detail/CVE-2021-0129
suse.com/support/update/announcement/2022/suse-su-20223687-1
bugzilla.suse.com/1186463
bugzilla.suse.com/1188859
bugzilla.suse.com/1192394
bugzilla.suse.com/1193227
bugzilla.suse.com/1193237
suse.com/security/cve/CVE-2019-8921
suse.com/security/cve/CVE-2019-8922
suse.com/security/cve/CVE-2020-26558
suse.com/security/cve/CVE-2021-0129
suse.com/security/cve/CVE-2021-3658
suse.com/security/cve/CVE-2021-43400
suse.com/support/update/announcement/2022/suse-su-20223691-1
suse.com/support/update/announcement/2022/suse-su-20223981-1
ubuntu.com/security/CVE-2021-43400
cve.org/CVERecord?id=CVE-2021-43400
ubuntu.com/security/CVE-2021-3658
ubuntu.com/security/CVE-2021-41229