The vulnerability is a ReDoS (CWE-1333) in OpenTelemetry Java's W3C tracestate parsing. The vulnerable code used a regex pattern [ \t]*,[ \t]* to split the tracestate header. When a header contains long runs of spaces or tabs without a following comma, the regex engine performs catastrophic backtracking, causing quadratic CPU time.
The patch (commit ba4dfea91647d1ef596975db5d7197681df3c0f5 / cc4f5f22aed0d69369941cde8029e73507cf438f) removes the TRACESTATE_ENTRY_DELIMITER_SPLIT_PATTERN regex and its .split() call, replacing them with literal comma scanning (lastIndexOf) and explicit whitespace trimming loops. This directly confirms that W3CTraceContextEncoding.decodeTraceState is the vulnerable function that contained the inefficient regex.
The public entry point that reaches this code is W3CTraceContextPropagator.extract(), which calls extractImpl() and then decodeTraceState() on the attacker-controlled tracestate header. Both functions would appear in a runtime profile during exploitation. Since this is Java, profilers show full package/namespace paths, so the functions are reported as io.opentelemetry.api.trace.propagation.internal.W3CTraceContextEncoding.decodeTraceState and io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator.extract.