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

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-16T20:42:23.507Z
- Modified: 2026-10-01T20:56:06.318Z
- Also known as: GHSA-hjf4-fphr-2h65, GO-2026-6615
- Weaknesses: CWE-400, CWE-834
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- open-telemetry opentelemetry-go: < 0.21.0
- go.opentelemetry.io/otel/sdk/log (Go): before 0.21.0

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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

- <https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-hjf4-fphr-2h65> (exploit, advisory, web)
- <https://github.com/open-telemetry/opentelemetry-go/issues/6797> (web)
- <https://github.com/open-telemetry/opentelemetry-go/pull/8620> (web)
- <https://github.com/open-telemetry/opentelemetry-go/commit/ba71b09e6ed272e93a669aeaec1e98b1df4cc582> (web)
- <https://github.com/open-telemetry/opentelemetry-go/releases/tag/sdk/log/v0.21.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-81872> (advisory)
- <https://github.com/open-telemetry/opentelemetry-go> (package)

## Sources

- CVE List: [CVE-2026-81872](https://www.cve.org/CVERecord?id=CVE-2026-81872), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-hjf4-fphr-2h65](https://github.com/advisories/GHSA-hjf4-fphr-2h65), CC-BY-4.0, modified 2026-10-01
- Go Vulnerability Database: [GO-2026-6615](https://pkg.go.dev/vuln/GO-2026-6615), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-81872](https://nvd.nist.gov/vuln/detail/CVE-2026-81872), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-81872 · Whole record: https://cve.day/CVE-2026-81872.json · Rebuilt by cve.day 2026-11-25T22:59:39.160Z
