Inefficient regular expression complexity in opentelemetry-java - CVE-2026-118259

 

Inefficient regular expression complexity in opentelemetry-java - CVE-2026-118259

Published: November 18, 2026


Vulnerability identifier: #VU167259
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-118259
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause excessive CPU consumption and potentially a denial of service.

The vulnerability exists due to inefficient regular expression backtracking in OpenTelemetry Java's W3C trace-context propagator when parsing tracestate headers containing long runs of spaces or tabs without a following comma. A remote attacker can send crafted requests whose headers reach W3CTraceContextPropagator.extract() to trigger quadratic parsing time and block the calling thread, potentially affecting other connections sharing an event-loop thread.


Affected software

opentelemetry-java

How to mitigate CVE-2026-118259

Install security update from vendor's website.

opentelemetry-java - update to 1.67.0

External References

Related Security Bulletins