Skip to content
OpenAdvisories
Unscored Public exploit CVE-2023-45866 EUVD-2023-50132GHSA-qjcj-xg77-6c32

Bluetooth HID Hosts in BlueZ may permit an unauthenticated Peripheral role HID Device to initiate and establish an encrypted connection, an…

Published Dec 8, 2023 · Updated Nov 4, 2025 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 bluez 5.72-2.el9 RLSA-2024:9413
ReleasePackageFixed inAdvisory
SLES 12 SP5 bluez 5.13-5.45.1 SUSE-SU-2025:03590-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bluez 5.70-2.1 openSUSE-SU-2024:13507-1

Amazon Linux

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 bluez 5.63-6 —
Azure Linux 2 (CBL-Mariner) bluez 5.63-5 —

Oracle Linux

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

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 …

  • 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

References