Skip to content
Heist/ feed
Back to feed
MediumFix available

bluez — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-41229

BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.

Products
bluez
Affected versions
Not specified
Fixed versions
5.62-2
CVEs
CVE-2021-41229
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:50 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-41229

core-osv · Original source

Published 12 Nov 2021, 23:15 UTC

BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.

osv:DEBIAN-CVE-2021-41229

bluez

Fixed versions: 5.62-2

bluez

Fixed versions: 5.62-2

bluez

Fixed versions: 5.62-2

Complete source record
{
  "id": "31f66194f715d9a9b7db656e1793d86e8938baa57cd7c9f8abb672a7e127c3ed",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-41229",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-41229",
    "summary": "BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.",
    "evidence": "osv:DEBIAN-CVE-2021-41229",
    "products": [
      {
        "name": {
          "value": "bluez",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.62-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bluez",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.62-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bluez",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.62-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-41229",
      "aliases": [
        "DEBIAN-CVE-2021-41229"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.62-2"
                }
              ]
            }
          ],
          "package": {
            "name": "bluez",
            "purl": "pkg:deb/debian/bluez?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-41229.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.62-2"
                }
              ]
            }
          ],
          "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-2021-41229.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.62-2"
                }
              ]
            }
          ],
          "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-2021-41229.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:50.780654236Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-41229"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-41229"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-41229",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422447,
  "published_at": "2021-11-12T23:15:08.857+00:00"
}