Description
Bluetooth HID Hosts in BlueZ may permit an unauthenticated Peripheral role HID Device to initiate and establish an encrypted connection, and accept HID keyboard reports, potentially permitting injection of HID messages when no user interaction has occurred in the Central role to authorize such access. An example affected package is bluez 5.64-0ubuntu1 in Ubuntu 22.04LTS. NOTE: in some cases, a CVE-2020-0556 mitigation would have already addressed this Bluetooth HID Hosts issue.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | bluez | 5.70-1.1 | — |
| Debian 13 | bluez | 5.70-1.1 | — |
| Debian 12 | bluez | 5.66-1+deb12u1 | DSA-5584-1 |
| Debian 11 | bluez | 5.55-3.1+deb11u1 | DSA-5584-1 |
| Debian 10 | bluez | 5.50-1.2~deb10u4 | DLA-3689-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | bluez | 5.70-0ubuntu3 | — |
| Ubuntu 22.04 LTS | bluez | 5.64-0ubuntu1.1 | USN-6540-1 |
| Ubuntu 20.04 LTS | bluez | 5.53-0ubuntu3.7 | USN-6540-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | bluez | 5.48-0ubuntu3.9+esm1 | USN-6540-1 |
| Ubuntu Pro 16.04 LTS | bluez | 5.37-0ubuntu5.3+esm3 | USN-6540-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | bluez +4 | 5.72-2.el9 | RHSA-2024:9413 |
| RHEL 8 | bluez +5 | 5.63-3.el8_10 | RHSA-2024:11154 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | bluez +4 | 5.72-2.el9 | ALSA-2024:9413 |
| AlmaLinux 8 | bluez +5 | 5.63-3.el8_10.alma.1 | ALSA-2024:11154 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | bluez | 5.72-2.el9 | RLSA-2024:9413 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | bluez | 5.13-5.45.1 | SUSE-SU-2025:03590-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.1 | bluez | 5.70-slfo.1.1_2.1 | SUSE-SU-2025:20804-1 |
| SLE Micro 6.0 | bluez | 5.70-2.1 | SUSE-SU-2026:20041-1 |
| SLE Micro 5.5 | bluez | 5.65-150500.3.14.1 | SUSE-SU-2025:03269-1 |
| SLE Micro 5.4 | bluez | 5.62-150400.4.22.1 | SUSE-SU-2025:03277-1 |
| SLE Micro 5.3 | bluez | 5.62-150400.4.22.1 | SUSE-SU-2025:03277-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bluez | 5.70-2.1 | openSUSE-SU-2024:13507-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | bluez +7 | 5.62-2.amzn2023.0.5 | ALAS2023-2024-473 |
| Amazon Linux 2 | bluez +4 | 5.44-7.amzn2.0.4 | ALAS2-2024-2386 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | bluez | 5.63-6 | — |
| Azure Linux 2 (CBL-Mariner) | bluez | 5.63-5 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | bluez +4 | 5.72-2.el9 | ELSA-2024-9413 |
| Oracle Linux 8 | bluez +5 | 5.63-3.el8_10 | ELSA-2024-11154 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 12 repositories · most starred shown
-
pentestfunctions/BlueDucky ★ 1,910 · Jan 16, 2024
🚨 CVE-2023-45866 - BlueDucky Implementation (Using DuckyScript) 🔓 Unauthenticated Peering Leading to Code Execution (Using HID Keyboard)
-
Danyw24/blueXploit ★ 16 · Dec 15, 2024
Exploit basado en vulnerabilidades criticas Bluetooth (CVE-2023-45866, CVE-2024-21306)
-
Eason-zz/BluetoothDucky ★ 16 · Jan 16, 2024
CVE-2023-45866 - BluetoothDucky implementation (Using DuckyScript)
-
Sergeb250/BlueDucky ★ 3 · Aug 26, 2025
BlueDucky exploits a Bluetooth vulnerability, specifically CVE-2023-45866, which allows an attacker to inject keystrokes into a target device. The attacker's device impersonates a Bluetooth keyboard …
-
AvishekDhakal/CVE-2023-45866_EXPLOITS ★ 3 · Sep 2, 2024
Exploits Tested in Mi A2 Lite and Realme 2 pro
-
hegaz0y/-BuL ★ 1 · May 31, 2026
EDSEC_BKIF is a keystroke injection tool for Android, Linux, and iOS. With the help of CVE-2023-45866, it grants users unprecedented control over targeted systems, enabling various functions from key…
-
xG3nesis/RustyInjector ★ 1 · Dec 20, 2024
Rust implementation of Marc Newlin's keystroke injection proof of concept (CVE-2023-45866).
-
Chedrian07/CVE-2023-45866-POC ★ 0 · Oct 9, 2024
-
cisnarfu/Bluepop ★ 0 · Jun 29, 2024
CVE-2023-45866
-
jjjjjjjj987/cve-2023-45866-py ★ 0 · Jan 23, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 22
- ALSA-2024:9413 Moderate: bluez security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:11154 Moderate: bluez security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:9413 Red Hat Security Advisory: bluez security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:11154 Red Hat Security Advisory: bluez security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-6540-1 bluez vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- SUSE-SU-2026:20041-1 Security update for bluez SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03277-1 Security update for bluez SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20804-1 Security update for bluez SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03590-1 Security update for bluez SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5584-1 bluez - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3689-1 bluez - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2024:9413 Moderate: bluez security update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2025:03269-1 Security update for bluez SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13507-1 bluez-5.70-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-3086 bluez: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jan 14, 2026
- ELSA-2024-11154 Moderate: bluez security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Dec 17, 2024
- ELSA-2024-9413 Moderate: bluez security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 14, 2024
- WID-SEC-2023-3095 Apple iOS und iPadOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 25, 2024
- WID-SEC-2023-3094 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 25, 2024
- ALAS2-2024-2386 Important: bluez security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 9, 2024
- ALAS2023-2024-473 Important: bluez security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jan 8, 2024
- WID-SEC-2023-3057 Google Android: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 6, 2023
References
- https://bluetooth.com
- http://changelogs.ubuntu.com/changelogs/pool/main/b/bluez/bluez_5.64-0ubuntu1/changelog
- https://github.com/skysafe/reblog/tree/main/cve-2023-45866
- https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/profiles/input?id=25a471a83e02e1effb15d5a488b3f0085eaeb675
- FEDORA-2023-6a3fe615d3 vendor-advisory
- FEDORA-2023-26a02512e1 vendor-advisory
- https://support.apple.com/kb/HT214036
- https://support.apple.com/kb/HT214035
- 20231212 APPLE-SA-12-11-2023-4 macOS Sonoma 14.2 mailing-list
- 20231212 APPLE-SA-12-11-2023-2 iOS 17.2 and iPadOS 17.2 mailing-list
- [debian-lts-announce] 20231215 [SECURITY] [DLA 3689-1] bluez security update mailing-list
- DSA-5584 vendor-advisory
- GLSA-202401-03 vendor-advisory