Vulnerability · Published Sep 16, 2026 · Assigned by GitHub_M

CVE-2026-81872OpenTelemetry-Go: BatchProcessor can busy-spin when export buffer is full

Medium 6.3

In plain English

A medium-severity uncontrolled resource consumption in opentelemetry-go from open-telemetry. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.4%top 67.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13golang-opentelemetry-otelno fix listedDEBIAN-CVE-2026-81872
Debian:14golang-opentelemetry-otel1.46.0-2DEBIAN-CVE-2026-81872
Gogo.opentelemetry.io/otel/sdk/log0.21.0GHSA-hjf4-fphr-2h65
Gogo.opentelemetry.io/otel/sdk/log0.21.0GO-2026-6615
Ubuntu:22.04:LTSgolang-opentelemetry-otelno fix listedUBUNTU-CVE-2026-81872
Ubuntu:24.04:LTSgolang-opentelemetry-otelno fix listedUBUNTU-CVE-2026-81872
Ubuntu:26.04:LTSgolang-opentelemetry-otelno fix listedUBUNTU-CVE-2026-81872
Ubuntu:26.10golang-opentelemetry-otelno fix listedUBUNTU-CVE-2026-81872

Affected products (as reported)

VendorProductVersions
open-telemetry opentelemetry-go < 0.21.0

Weakness: CWE-400, CWE-834 · Vector: 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

References