Go Vulnerability Database
GO-2026-4985
Oversized OTLP HTTP response bodies can cause memory exhaustion in go.opentelemetry.io/otel/exporters/otlp
Details
The OTLP HTTP exporters (traces, metrics, and logs) do not limit the size of the HTTP response body read from the collector. A malicious or misconfigured collector can send a large response body, leading to excessive memory consumption and potential process termination (OOM).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp | All versions before 0.19.0 (fixed in 0.19.0) |
| Go | go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp | All versions before 1.43.0 (fixed in 1.43.0) |
| Go | go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp | All versions before 1.43.0 (fixed in 1.43.0) |