Skip to main content

CVE-2026-81872: CWE-400: Uncontrolled Resource Consumption in open-telemetry opentelemetry-go

0
Medium
VulnerabilityCVE-2026-81872cvecve-2026-81872cwe-400cwe-834
Published: 09/16/2026 (09/16/2026, 20:42:23 UTC)
Source: CVE Database V5
Vendor/Project: open-telemetry
Product: opentelemetry-go

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.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

open-telemetry

opentelemetry-go

Affected versions
<0.21.0
github.com/open-telemetry/opentelemetry-go/sdk/log
pkg:golang/github.com/open-telemetry/opentelemetry-go/sdk/log
Affected versions
<0.21.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/16/2026, 22:02:27 UTC

Technical Analysis

OpenTelemetry-Go's BatchingProcessor in versions before 0.21.0 can enter a tight CPU loop due to uncontrolled resource consumption. When the asynchronous export buffer fills up because of attacker-driven log emission and the exporter is backpressured, the processor repeatedly retries enqueue operations without waiting, causing CPU exhaustion. This is caused by the nonblocking EnqueueExport failing without reducing the queue length, triggering immediate retries. The vulnerability is addressed by changes introduced in version 0.21.0.

Potential Impact

An attacker can cause the BatchingProcessor to consume excessive CPU resources by flooding the log export buffer, leading to degraded performance or denial of service in the application embedding the vulnerable OpenTelemetry-Go SDK. There is no indication of privilege escalation or data compromise from this vulnerability.

Mitigation Recommendations

Upgrade to OpenTelemetry-Go version 0.21.0 or later, where this issue is fixed. No other mitigations are indicated or necessary as the fix is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-27T17:48:42.121Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aab005e55bf5e2cf5231de7

Added to database: 09/16/2026, 20:47:26 UTC

Last enriched: 09/16/2026, 22:02:27 UTC

Last updated: 09/17/2026, 03:20:29 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses