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.
Published: 2026-07-01
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 allocate memory proportional to the lead to a crash or hang, effectively denying 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, of the JVM balancing the application.

Generated by OpenCVE AI on July 21, 2026 at 13:13 UTC.

Remediation

No vendor fix or workaround currently provided.

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 July 21, 2026 at 13:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 02 Jul 2026 04:00:00 +0000

Type Values Removed Values Added
First Time appeared Opentelemetry
Opentelemetry opentelemetry-java-instrumentation
Vendors & Products Opentelemetry
Opentelemetry opentelemetry-java-instrumentation

Wed, 01 Jul 2026 21:45:00 +0000

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'}


Subscriptions

Opentelemetry Opentelemetry-java-instrumentation
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-02T15:41:16.104Z

Reserved: 2026-06-15T22:58:06.563Z

Link: CVE-2026-54712

cve-icon Vulnrichment

Updated: 2026-07-02T15:40:49.167Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T13:15:05Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption