Skip to content
Heist/ feed
Back to feed
High

Tempo query limit results in unbounded memory allocation

Type: advisorySources: OSV

Tempo queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy. Mitigation can be done by setting max_result_limit in the search config, e.g. to 262144 (2^18). Alternatively, automatically restart the service.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-21728
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:40 UTC · Revision 1

Source evidence

Tempo query limit results in unbounded memory allocation

core-osv · Original source

Published 24 Apr 2026, 08:00 UTC

Tempo queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy. Mitigation can be done by setting max_result_limit in the search config, e.g. to 262144 (2^18). Alternatively, automatically restart the service.

osv:CVE-2026-21728
Complete source record
{
  "id": "83510e7e57da4b45b8ff91f9fa0e82428f85f1cc34f8fbddd99bf9c36b8415a3",
  "url": "https://osv.dev/vulnerability/CVE-2026-21728",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Tempo query limit results in unbounded memory allocation",
    "summary": "Tempo queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy. Mitigation can be done by setting max_result_limit in the search config, e.g. to 262144 (2^18). Alternatively, automatically restart the service.",
    "evidence": "osv:CVE-2026-21728",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-21728",
      "aliases": [
        "CVE-2026-21728",
        "GHSA-p4r4-xvrq-gvmc",
        "GO-2026-5528"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/grafana/tempo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "be6476d9a1d171055f284c434f3432615258ca1c"
                },
                {
                  "fixed": "8ce8017366bc1106b75c20864f200ad84f649515"
                },
                {
                  "introduced": "607c7fb69662262bbb4462da1e2d91067dab6785"
                },
                {
                  "fixed": "f9ce27b87f3f95d1d4533cef143e360be0c4a829"
                },
                {
                  "introduced": "5773eb8b0bdd4439a6c065e54f777e4f77d419a1"
                },
                {
                  "fixed": "9ce71d29b791b6a3ee7397038a85d8afc3a250fd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:grafana:tempo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.3.0"
                      },
                      {
                        "fixed": "2.8.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:tempo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.9.0"
                      },
                      {
                        "fixed": "2.9.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:tempo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.10.0"
                      },
                      {
                        "fixed": "2.10.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.10.1",
            "v2.10.0",
            "v2.9.1",
            "v2.8.3",
            "v2.8.2",
            "v2.9.0",
            "v2.8.1",
            "v2.8.0",
            "v2.8.0-rc.1",
            "v2.8.0-rc.0",
            "v2.7.0-rc.0",
            "v2.6.0-rc.0",
            "v2.5.0-rc.1",
            "v2.5.0-rc.0",
            "v2.4.0",
            "v2.4.0-rc.0",
            "v2.3.0-rc.0",
            "v2.2.0-rc.0",
            "v2.1.0-rc.0",
            "v2.0.0",
            "v2.0.0-rc.0",
            "v1.5.0",
            "v1.5.0-rc.2",
            "v1.5.0-rc.1",
            "v1.5.0-rc.0",
            "v1.4.0",
            "v1.4.0-rc.0",
            "v1.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21728.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.320618380Z",
      "provider": "osv",
      "references": [
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21728.json",
        "https://access.redhat.com/errata/RHSA-2026:21769",
        "https://access.redhat.com/errata/RHSA-2026:22347",
        "https://access.redhat.com/errata/RHSA-2026:22423",
        "https://access.redhat.com/errata/RHSA-2026:23345",
        "https://access.redhat.com/errata/RHSA-2026:24503",
        "https://access.redhat.com/security/cve/CVE-2026-21728",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21728.json",
        "https://grafana.com/security/security-advisories/cve-2026-21728",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-21728",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2461395"
      ],
      "provider_metadata": {
        "cna_assigner": "GRAFANA",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.3.0"
                  },
                  {
                    "last_affected": "2.8.3"
                  },
                  {
                    "introduced": "2.9.0"
                  },
                  {
                    "last_affected": "2.9.1"
                  },
                  {
                    "introduced": "2.10.0"
                  },
                  {
                    "last_affected": "2.10.1"
                  },
                  {
                    "introduced": "1.0.0"
                  },
                  {
                    "last_affected": "2.8.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21728.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-21728",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504840,
  "published_at": "2026-04-24T08:00:47.074+00:00"
}