{"id":"UBUNTU-CVE-2023-27349","details":"BlueZ Audio Profile AVRCP Improper Validation of Array Index Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code via Bluetooth on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious device. The specific flaw exists within the handling of the AVRCP protocol. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-19908.","modified":"2026-04-22T16:36:41.690609Z","published":"2024-05-03T02:15:00Z","related":["USN-6809-1"],"upstream":["CVE-2023-27349"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-27349"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-27349"},{"type":"REPORT","url":"https://www.zerodayinitiative.com/advisories/ZDI-23-386/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6809-1"}],"affected":[{"package":{"name":"bluez","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/bluez@5.37-0ubuntu5.3+esm4?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.37-0ubuntu5.3+esm4"}]}],"versions":["5.35-0ubuntu2","5.36-0ubuntu1","5.37-0ubuntu5","5.37-0ubuntu5.1","5.37-0ubuntu5.3","5.37-0ubuntu5.3+esm1","5.37-0ubuntu5.3+esm2","5.37-0ubuntu5.3+esm3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"bluetooth","binary_version":"5.37-0ubuntu5.3+esm4"},{"binary_name":"bluez","binary_version":"5.37-0ubuntu5.3+esm4"},{"binary_name":"bluez-cups","binary_version":"5.37-0ubuntu5.3+esm4"},{"binary_name":"bluez-hcidump","binary_version":"5.37-0ubuntu5.3+esm4"},{"binary_version":"5.37-0ubuntu5.3+esm4","binary_name":"bluez-obexd"},{"binary_name":"bluez-tests","binary_version":"5.37-0ubuntu5.3+esm4"},{"binary_name":"libbluetooth3","binary_version":"5.37-0ubuntu5.3+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27349.json"}},{"package":{"name":"bluez","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/bluez@5.48-0ubuntu3.9+esm2?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.48-0ubuntu3.9+esm2"}]}],"versions":["5.46-0ubuntu3","5.46-0ubuntu4","5.48-0ubuntu3","5.48-0ubuntu3.1","5.48-0ubuntu3.2","5.48-0ubuntu3.3","5.48-0ubuntu3.4","5.48-0ubuntu3.5","5.48-0ubuntu3.6","5.48-0ubuntu3.7","5.48-0ubuntu3.8","5.48-0ubuntu3.9","5.48-0ubuntu3.9+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"bluetooth","binary_version":"5.48-0ubuntu3.9+esm2"},{"binary_name":"bluez","binary_version":"5.48-0ubuntu3.9+esm2"},{"binary_version":"5.48-0ubuntu3.9+esm2","binary_name":"bluez-cups"},{"binary_name":"bluez-hcidump","binary_version":"5.48-0ubuntu3.9+esm2"},{"binary_name":"bluez-obexd","binary_version":"5.48-0ubuntu3.9+esm2"},{"binary_name":"bluez-tests","binary_version":"5.48-0ubuntu3.9+esm2"},{"binary_name":"libbluetooth3","binary_version":"5.48-0ubuntu3.9+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27349.json"}},{"package":{"name":"bluez","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/bluez@5.53-0ubuntu3.8?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.53-0ubuntu3.8"}]}],"versions":["5.50-0ubuntu4","5.51-0ubuntu1","5.51-0ubuntu2","5.52-0ubuntu1","5.52-0ubuntu2","5.53-0ubuntu1","5.53-0ubuntu2","5.53-0ubuntu3","5.53-0ubuntu3.1","5.53-0ubuntu3.2","5.53-0ubuntu3.3","5.53-0ubuntu3.4","5.53-0ubuntu3.5","5.53-0ubuntu3.6","5.53-0ubuntu3.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"bluetooth","binary_version":"5.53-0ubuntu3.8"},{"binary_name":"bluez","binary_version":"5.53-0ubuntu3.8"},{"binary_name":"bluez-cups","binary_version":"5.53-0ubuntu3.8"},{"binary_name":"bluez-hcidump","binary_version":"5.53-0ubuntu3.8"},{"binary_name":"bluez-obexd","binary_version":"5.53-0ubuntu3.8"},{"binary_name":"bluez-tests","binary_version":"5.53-0ubuntu3.8"},{"binary_name":"libbluetooth3","binary_version":"5.53-0ubuntu3.8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27349.json"}},{"package":{"name":"bluez","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/bluez@5.64-0ubuntu1.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.64-0ubuntu1.3"}]}],"versions":["5.60-0ubuntu2","5.62-0ubuntu1","5.62-0ubuntu2","5.63-0ubuntu1","5.63-0ubuntu2","5.64-0ubuntu1","5.64-0ubuntu1.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"bluetooth","binary_version":"5.64-0ubuntu1.3"},{"binary_name":"bluez","binary_version":"5.64-0ubuntu1.3"},{"binary_name":"bluez-cups","binary_version":"5.64-0ubuntu1.3"},{"binary_name":"bluez-hcidump","binary_version":"5.64-0ubuntu1.3"},{"binary_name":"bluez-meshd","binary_version":"5.64-0ubuntu1.3"},{"binary_name":"bluez-obexd","binary_version":"5.64-0ubuntu1.3"},{"binary_name":"bluez-tests","binary_version":"5.64-0ubuntu1.3"},{"binary_name":"libbluetooth3","binary_version":"5.64-0ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27349.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}