Skip to content
Heist/ feed
Back to feed
Medium

golang-opentelemetry-otel — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-81872

OpenTelemetry-Go is the Go implementation of OpenTelemetry. Prior to version 0.21.0, the go.opentelemetry.io/otel/sdk/log BatchingProcessor can enter a tight CPU loop when attacker-driven log emission fills its asynchronous export buffer while the exporter is backpressured. NewBatchingProcessor wraps the exporter with newBufferExporter(exporter, 1), and the poll loop calls queue.TryDequeue and bufferExporter.EnqueueExport before immediately signaling pollTrigger whenever the queue remains at or above batchSize. Because a failed nonblocking EnqueueExport leaves the queue length unchanged, the processor repeatedly retries without waiting for its ticker, exhausting CPU and degrading or denying service in the embedding process. This issue is fixed in version 0.21.0.

Products
golang-opentelemetry-otel
Affected versions
1.1.0-2, 1.16.0-1, 1.31.0-4, 1.31.0-5, 1.31.0-6, 1.43.0-4build1
Fixed versions
Not specified
CVEs
CVE-2026-81872
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:20 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-81872

core-osv · Original source

Published 16 Sept 2026, 21:17 UTC

OpenTelemetry-Go is the Go implementation of OpenTelemetry. Prior to version 0.21.0, the go.opentelemetry.io/otel/sdk/log BatchingProcessor can enter a tight CPU loop when attacker-driven log emission fills its asynchronous export buffer while the exporter is backpressured. NewBatchingProcessor wraps the exporter with newBufferExporter(exporter, 1), and the poll loop calls queue.TryDequeue and bufferExporter.EnqueueExport before immediately signaling pollTrigger whenever the queue remains at or above batchSize. Because a failed nonblocking EnqueueExport leaves the queue length unchanged, the processor repeatedly retries without waiting for its ticker, exhausting CPU and degrading or denying service in the embedding process. This issue is fixed in version 0.21.0.

osv:UBUNTU-CVE-2026-81872

golang-opentelemetry-otel

Fixed versions: Not specified

golang-opentelemetry-otel

Fixed versions: Not specified

golang-opentelemetry-otel

Fixed versions: Not specified

golang-opentelemetry-otel

Fixed versions: Not specified

Complete source record
{
  "id": "9360ff12854cf25b95faa9e46200af44bf7d3c83dbd96c9e62a1eb889b4707b3",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-81872",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-81872",
    "summary": "OpenTelemetry-Go is the Go implementation of OpenTelemetry. Prior to version 0.21.0, the go.opentelemetry.io/otel/sdk/log BatchingProcessor can enter a tight CPU loop when attacker-driven log emission fills its asynchronous export buffer while the exporter is backpressured. NewBatchingProcessor wraps the exporter with newBufferExporter(exporter, 1), and the poll loop calls queue.TryDequeue and bufferExporter.EnqueueExport before immediately signaling pollTrigger whenever the queue remains at or above batchSize. Because a failed nonblocking EnqueueExport leaves the queue length unchanged, the processor repeatedly retries without waiting for its ticker, exhausting CPU and degrading or denying service in the embedding process. This issue is fixed in version 0.21.0.",
    "evidence": "osv:UBUNTU-CVE-2026-81872",
    "products": [
      {
        "name": {
          "value": "golang-opentelemetry-otel",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.0-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-opentelemetry-otel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.16.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-opentelemetry-otel",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.31.0-6",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.43.0-4build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-opentelemetry-otel",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.31.0-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.31.0-5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.31.0-6",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-81872",
      "aliases": [
        "UBUNTU-CVE-2026-81872"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-otel",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-otel?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.1.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81872.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-otel-dev",
                "binary_version": "1.1.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-otel",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-otel?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.16.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81872.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-otel-dev",
                "binary_version": "1.16.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-otel",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-otel?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.31.0-6",
            "1.43.0-4build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81872.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-otel-dev",
                "binary_version": "1.43.0-4build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-otel",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-otel?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.31.0-4",
            "1.31.0-5",
            "1.31.0-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81872.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-otel-dev",
                "binary_version": "1.31.0-6"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:10.875785242Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-81872"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-81872",
        "https://www.cve.org/CVERecord?id=CVE-2026-81872",
        "https://github.com/open-telemetry/opentelemetry-go/commit/ba71b09e6ed272e93a669aeaec1e98b1df4cc582",
        "https://github.com/open-telemetry/opentelemetry-go/issues/6797",
        "https://github.com/open-telemetry/opentelemetry-go/pull/8620",
        "https://github.com/open-telemetry/opentelemetry-go/releases/tag/sdk/log/v0.21.0",
        "https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-hjf4-fphr-2h65"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-81872",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361153,
  "published_at": "2026-09-16T21:17:00+00:00"
}