Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41229
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:57 UTC · Revision 1

Source evidence

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:CVE-2021-41229
Complete source record
{
  "id": "08f268263d9eba0babfc66700e341797fb1b8aa2910dd528e068227ae3943824",
  "url": "https://osv.dev/vulnerability/CVE-2021-41229",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "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:CVE-2021-41229",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-41229",
      "aliases": [
        "CVE-2021-41229",
        "GHSA-3fqg-r8j5-f5xq"
      ],
      "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": [
            {
              "repo": "https://github.com/bluez/bluez",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2e4397acbb75d83a75d11769f69cb12211cd9045"
                },
                {
                  "last_affected": "2e4397acbb75d83a75d11769f69cb12211cd9045"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:bluez:bluez:5.58:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.58"
                      },
                      {
                        "last_affected": "5.58"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.58"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41229.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:58.037316713Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2024/09/msg00022.html",
        "https://lists.debian.org/debian-lts-announce/2021/11/msg00022.html",
        "https://lists.debian.org/debian-lts-announce/2022/10/msg00026.html",
        "https://security.netapp.com/advisory/ntap-20211203-0004/",
        "https://github.com/bluez/bluez/security/advisories/GHSA-3fqg-r8j5-f5xq"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-41229",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386575,
  "published_at": "2021-11-12T23:15:08.857+00:00"
}