CVE-2026-81872OpenTelemetry-Go: BatchProcessor can busy-spin when export buffer is full
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.
What to do
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-opentelemetry-otel | Fix pending | UBUNTU-CVE-2026-81872 | |
| Ubuntu 26.04 | golang-opentelemetry-otel | Under investigation | UBUNTU-CVE-2026-81872 | |
| Ubuntu 24.04 | golang-opentelemetry-otel | Under investigation | UBUNTU-CVE-2026-81872 | |
| Ubuntu 22.04 | golang-opentelemetry-otel | Under investigation | UBUNTU-CVE-2026-81872 | |
| Debian 14 | golang-opentelemetry-otel | Fixed | 1.46.0-2 | DEBIAN-CVE-2026-81872 |
| Debian 13 | golang-opentelemetry-otel | Fix pending | DEBIAN-CVE-2026-81872 | |
| Red Hat Enterprise Linux 10 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | opentelemetry-collector | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | opentelemetry-collector | Fix pending Fix deferred | ||
| Go library | go.opentelemetry.io/otel/sdk/log | Fixed | 0.21.0 | GHSA-hjf4-fphr-2h65 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- open-telemetry opentelemetry-go: affected: < 0.21.0
References
- https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-hjf4-fphr-2h65
- 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/commit/ba71b09e6ed272e93a669aeaec1e98b1df4cc582
- https://github.com/open-telemetry/opentelemetry-go/releases/tag/sdk/log/v0.21.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.