OpenTelemetry Javaagent RMI context propagation allows resource exhaustion
Description
OpenTelemetry Java Instrumentation provides OpenTelemetry auto-instrumentation and instrumentation libraries for Java. In versions prior to 2.27.0, 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. This issue has been fixed in version 2.27.0.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
io.opentelemetry.javaagent:opentelemetry-javaagentMaven | < 2.27.0 | 2.27.0 |
Affected products
2- Range: <2.27.0
- Range: <2.27.0
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-fq3f-m5qm-99f5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-54712ghsaADVISORY
- github.com/open-telemetry/opentelemetry-java-instrumentation/commit/6ef18806d5daa4913619e4cb33d2d7ed6a853c22ghsaWEB
- github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17870ghsaWEB
- github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.27.0ghsaWEB
- github.com/open-telemetry/opentelemetry-java-instrumentation/security/advisories/GHSA-fq3f-m5qm-99f5ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.