CVE-2026-54712

OpenTelemetry Javaagent RMI context propagation allows resource exhaustion

Published Jul 1, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

OpenTelemetry Java Instrumentation versions before 2.27.0 contain a flaw in the RMI context propagation mechanism. The payload reader limits the number of context entries but ignores the aggregate size of the strings within those entries. A malicious client can send an RMI request with an oversized payload, causing excessive memory allocation while the JVM reads the payload, which can lead to a crash or hang and effectively deny service to the entire Java application (CWE‑400).

Affected Systems

Only deployments that enable OpenTelemetry’s RMI endpoint over the network are vulnerable. The issue does not affect installations where RMI instrumentation is disabled or where the RMI service is restricted to trusted sources. Applications using OpenTelemetry Java Instrumentation 2.27.0 or later are not impacted.

Risk and Exploitability

With a CVSS v3.1 score of 5.3, the vulnerability is medium severity. An EPSS score of less than 1% indicates a very low likelihood of exploitation, and it is not listed in the CISA KEV catalog. Exploitation requires network access to a reachable RMI endpoint and the ability to inject a specially crafted, oversized payload. No elevated privileges are needed beyond this connectivity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to OpenTelemetry Java Instrumentation 2.27.0 or later, which limits the total size of context payload strings.
  • If an upgrade is not immediately possible, disable RMI instrumentation in the OpenTelemetry configuration or remove the RMI instrumentation library from the application’s classpath.
  • Restrict network exposure of any RMI endpoints that can be connected to, and consider firewall or host‑based access controls to block external traffic.

Generated by OpenCVE AI on August 1, 2026 at 22:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fq3f-m5qm-99f5 OpenTelemetry Javaagent RMI context propagation allows resource exhaustion
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Opentelemetry
Opentelemetry opentelemetry-java-instrumentation
Vendors & Products Opentelemetry
Opentelemetry opentelemetry-java-instrumentation
Type Values Removed Values Added
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.
Title OpenTelemetry Javaagent RMI context propagation allows resource exhaustion
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 2, 2026, 3:41 PM
Reserved
Jun 15, 2026, 10:58 PM
Status
Analyzed
Published
Jul 1, 2026, 10:16 PM
Modified
Oct 25, 2026, 4:10 PM