open-telemetry/opentelemetry-java-instrumentation · Security

OpenTelemetry Javaagent RMI context propagation allows resource exhaustion

GHSA ID
GHSA-fq3f-m5qm-99f5
CVE ID
CVE-2026-54712
Severity
medium
Published
Updated
CVSS
5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v3
5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Description

The RMI context propagation payload reader limits the number of context entries but does not limit the aggregate size of the strings read from the stream.

An attacker who can reach an RMI endpoint on an instrumented JVM can send an oversized context propagation payload. This can cause excessive memory allocation while the JVM reads the payload, potentially leading to denial of service.

The issue affects only deployments where RMI instrumentation is enabled and an RMI endpoint is network-reachable.

CWEs

References