CVE-2026-118259: opentelemetry-java: Quadratic CPU consumption in W3C tracestate parsing

Published Oct 28, 2026
·
Updated

opentelemetry-java is the Java implementation of the OpenTelemetry API for recording telemetry, and SDK for managing telemetry recorded by the API. Prior to 1.67.0, W3CTraceContextPropagator.extract() uses regex delimiter processing that can exhibit quadratic backtracking while parsing tracestate headers containing long runs of spaces or tabs without a following comma. An unauthenticated attacker whose headers reach extraction can repeatedly block request or event-loop threads and cause excessive CPU consumption, with practical impact bounded by ingress header-size limits, proxy configuration, and threading. This issue is fixed in version 1.67.0.

Affected Software

1 affected component
maven/io.opentelemetry/opentelemetry-api<1.67.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade opentelemetry-java to a version that resolves this vulnerability.

    Fixed in 1.67.0

Event History

Oct 28, 2026
CVE Published
via MITRE·06:53 PM
Data Sourced
via MITRE·06:53 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using opentelemetry-java versions before 1.67.0 are exposed when attacker-controlled request headers reach W3CTraceContextPropagator.extract(). The practical impact depends on ingress header-size limits, proxy configuration, and available request or event-loop threads.

2

What does an attacker need to send to trigger the CPU consumption?

An unauthenticated attacker needs to supply a tracestate header containing a long run of spaces or tabs with no following comma, and have that header processed by extraction. Repeated requests can block request or event-loop threads and consume excessive CPU.

3

What can be done if upgrading is not immediately possible?

Limit the size of inbound headers and use proxy or ingress configuration to prevent oversized or malformed tracestate headers from reaching the application. Threading configuration also bounds the practical impact of repeated requests.

4

How can I determine whether a deployment is affected?

Check whether the application uses opentelemetry-java earlier than 1.67.0 and whether inbound headers can reach W3CTraceContextPropagator.extract(). Systems that accept externally controlled tracestate headers are the relevant exposure path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203