Skip to content
Heist/ feed
Back to feed
HighFix available

bluez — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-50229

BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device. The specific flaw exists within the handling of the Phone Book Access profile. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20936.

Products
bluez
Affected versions
5.66-1, 5.66-1+deb12u1
Fixed versions
5.66-1+deb12u2, 5.70-1
CVEs
CVE-2023-50229
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:59 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-50229

core-osv · Original source

Published 3 May 2024, 03:16 UTC

BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device. The specific flaw exists within the handling of the Phone Book Access profile. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20936.

osv:DEBIAN-CVE-2023-50229

bluez

Fixed versions: 5.66-1+deb12u2

bluez

Fixed versions: 5.70-1

bluez

Fixed versions: 5.70-1

Complete source record
{
  "id": "48ea02b3aa27f8289e4ef28cf337d722274ad0a63d81246a0d0b4a901ec0dbd3",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-50229",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-50229",
    "summary": "BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device. The specific flaw exists within the handling of the Phone Book Access profile. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20936.",
    "evidence": "osv:DEBIAN-CVE-2023-50229",
    "products": [
      {
        "name": {
          "value": "bluez",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.66-1+deb12u2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "5.66-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.66-1+deb12u1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bluez",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.70-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bluez",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.70-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-50229",
      "aliases": [
        "DEBIAN-CVE-2023-50229"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.66-1+deb12u2"
                }
              ]
            }
          ],
          "package": {
            "name": "bluez",
            "purl": "pkg:deb/debian/bluez?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "5.66-1",
            "5.66-1+deb12u1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-50229.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.70-1"
                }
              ]
            }
          ],
          "package": {
            "name": "bluez",
            "purl": "pkg:deb/debian/bluez?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-50229.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.70-1"
                }
              ]
            }
          ],
          "package": {
            "name": "bluez",
            "purl": "pkg:deb/debian/bluez?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-50229.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:02:35.450341395Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-50229"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-50229"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-50229",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 456316,
  "published_at": "2024-05-03T03:16:11.68+00:00"
}