CVE-2026-54712: OpenTelemetry Javaagent RMI context propagation allows resource exhaustion
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.
Published Jul 29, 2026
Affected packages
io.opentelemetry.javaagent:opentelemetry-javaagent
- Ecosystem
- Maven
- Affected
- < 2.27.0
- Fixed in
- 2.27.0
- Check
mvn dependency:tree -Dincludes=io.opentelemetry.javaagent:opentelemetry-javaagent
Advisory details
From the GitHub Advisory Database (CC BY 4.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.
Credited to decsecre583.
References
- https://github.com/open-telemetry/opentelemetry-java-instrumentation/security/advisories/GHSA-fq3f-m5qm-99f5
- https://nvd.nist.gov/vuln/detail/CVE-2026-54712
- https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17870
- https://github.com/open-telemetry/opentelemetry-java-instrumentation/commit/6ef18806d5daa4913619e4cb33d2d7ed6a853c22
- https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.27.0
- https://github.com/advisories/GHSA-fq3f-m5qm-99f5
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
