ADVISORIES

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

EcosystemPackageAffected versions
Gogo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
All versions before 0.19.0 (fixed in 0.19.0)
Gogo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
All versions before 1.43.0 (fixed in 1.43.0)
Gogo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
All versions before 1.43.0 (fixed in 1.43.0)

References