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

Published Sep 16, 2026
·
Updated

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 Software

1 affected component
OpenTelemetry OpenTelemetry-Go<0.21.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go.opentelemetry.io/otel/sdk/log BatchingProcessor to a version that resolves this vulnerability.

    Fixed in 0.21.0

Event History

Sep 16, 2026
CVE Published
via MITRE·08:42 PM
Data Sourced
via MITRE·08:42 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using go.opentelemetry.io/otel/sdk/log BatchingProcessor before version 0.21.0 are affected when their asynchronous export buffer becomes full while the exporter is backpressured. The impact occurs in the embedding Go process, where CPU exhaustion can degrade or deny service.

2

What conditions are required for exploitation?

An attacker must be able to drive sufficient log emission to keep the processor queue at or above its batch size. The exporter must also be backpressured so that its single-entry asynchronous export buffer cannot accept another export.

3

Is the default processor construction affected?

Yes. NewBatchingProcessor wraps the exporter with newBufferExporter(exporter, 1), creating a buffer with capacity one. When that buffer is full, a failed nonblocking enqueue can leave the queue unchanged and trigger repeated immediate retries.

4

How can I determine whether this is occurring?

Look for sustained high CPU consumption in a process using the affected BatchingProcessor during periods of high log volume and exporter backpressure. The processor may repeatedly retry exports without waiting for its ticker while its queue remains at or above batchSize.

5

What is the available fix?

Upgrade OpenTelemetry-Go to version 0.21.0, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203