CVE-2021-3658
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered...
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.5
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
- Record
CVE-2021-3658- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 3.3 Low
AV:A/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
CVE List
6.5
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
- Record
CVE-2021-3658- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2021-26953
6.5
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
- Record
EUVD-2021-26953- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-839c-8x38-qf59
6.5
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered...
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
- Record
GHSA-839c-8x38-qf59- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
OSV
6.5
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
- Record
CVE-2021-3658- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-3658
6.5
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
- Record
DEBIAN-CVE-2021-3658- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 7 moreShow less
OSVOESA-2021-1370
7.5
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):
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.(CVE-2021-3658)
- Record
OESA-2021-1370- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-3658
6.5
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
- Record
UBUNTU-CVE-2021-3658- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVMGASA-2021-0395 No score
Updated bluez packages fix security vulnerability
Updated bluez packages fix security vulnerability:
Adapter incorrectly restores Discoverable state after powered down (CVE-2021-3658).
- Record
MGASA-2021-0395- 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.61-1 | 5.61-1 |
bluezDebian:13 |
before 5.61-1 | 5.61-1 |
bluezDebian:14 |
before 5.61-1 | 5.61-1 |
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 |
before 5.55-3.2.mga8 | 5.55-3.2.mga8 |
bluezopenEuler:20.03-LTS-SP1 |
before 5.54-5.oe1 | 5.54-5.oe1 |
bluezopenEuler:20.03-LTS-SP2 |
before 5.54-5.oe1 | 5.54-5.oe1 |
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 |
Show 23 moreShow less
| Package | Affected | Fixed |
|---|---|---|
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: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-3658 is a medium vulnerability (CVSS 6.5) in Bluez, published July 28, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.79%, the 56th percentile. Fixed in bluez 5.61-1.
References
gitlab.gnome.org/GNOME/gnome-bluetooth/-/issues/89
git.kernel.org/pub/scm/bluetooth/bluez.git/commit?id=b497b5942a8beb8f89ca1c359c54ad67ec843055
github.com/bluez/bluez/commit/b497b5942a8beb8f89ca1c359c54ad67ec843055
bugzilla.redhat.com/show_bug.cgi?id=1984728
security.netapp.com/advisory/ntap-20220407-0002
lists.debian.org/debian-lts-announce/2024/09/msg00022.html
Show 25 moreShow less
nvd.nist.gov/vuln/detail/CVE-2021-3658
github.com/advisories/GHSA-839c-8x38-qf59
security-tracker.debian.org/tracker/CVE-2021-3658
advisories.mageia.org/MGASA-2021-0395.html
bugs.mageia.org/show_bug.cgi?id=29323
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1370
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-3658
ubuntu.com/security/notices/USN-5155-1
cve.org/CVERecord?id=CVE-2021-3658
ubuntu.com/security/CVE-2021-41229
ubuntu.com/security/CVE-2021-43400