p PatchFirst

CVE-2026-114603

CVE-2026-114603 · OpenTelemetry Python: Unbounded tracestate parsing in opentelemetry-api

This page contains facts from public vulnerability sources. Check the original advisory before updating.

OpenTelemetry Python provides the Python API and SDK for OpenTelemetry. Prior to 1.45.1, the opentelemetry-api function TraceState.from_header in opentelemetry/trace/span.py, reached through TraceContextTextMapPropagator.extract, parses inbound W3C tracestate headers with an unbounded optional-whitespace regular expression. A malformed header containing a long run of spaces or tabs without a following comma causes quadratic backtracking before the member-count limit is applied. Services using the default W3C Trace Context propagator can therefore spend excessive CPU time on one unauthenticated request when the HTTP server, parser, gateway, or custom carrier accepts a sufficiently large header. The processing can occupy a synchronous worker or delay unrelated requests on the same asynchronous event loop. The impact is limited to availability and does not expose or modify telemetry data or allow code execution. This issue is fixed in version 1.45.1.

CVSS 5.3 · Medium · EPSS 0.5% · Public exploit · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • opentelemetry-python

    Versions
    • < 1.45.1: Affected

    No fix published

  • python-opentelemetry Debian:14

    Versions
    • 1.35.0-2
    • 1.38.0-1
    • 1.38.0-2
    • 1.39.1-1
    • 1.39.1-2
    • 1.40.0-1
    • 1.41.0-1
    • 1.41.0-2
    • 1.42.1-1
    • 1.43.0-1
    • 1.44.0-1
    • 1.44.0-2
    • 1.45.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • opentelemetry-api PyPI

    Versions
    • 0.10b0
    • 0.11b0
    • 0.12b0
    • 0.13b0
    • 0.14b0
    • 0.15b0
    • 0.16b0
    • 0.16b1
    • 0.17b0
    • 0.1a0
    • 0.2a0
    • 0.3a0
    • 0.4a0
    • 0.4a1
    • 0.5b0
    • 0.6b0
    • 0.7b0
    • 0.7b1
    • 0.8b0
    • 0.9b0
    • 1.0.0
    • 1.0.0rc1
    • 1.1.0
    • 1.10.0
    • 1.10a0
    • 1.11.0
    • 1.11.1
    • 1.12.0
    • 1.12.0rc1
    • 1.12.0rc2
    • 1.13.0
    • 1.14.0
    • 1.15.0
    • 1.16.0
    • 1.17.0
    • 1.18.0
    • 1.19.0
    • 1.2.0
    • 1.20.0
    • 1.21.0
    • 1.22.0
    • 1.23.0
    • 1.24.0
    • 1.25.0
    • 1.26.0
    • 1.27.0
    • 1.28.0
    • 1.28.1
    • 1.28.2
    • 1.29.0
    • 1.3.0
    • 1.30.0
    • 1.31.0
    • 1.31.1
    • 1.32.0
    • 1.32.1
    • 1.33.0
    • 1.33.1
    • 1.34.0
    • 1.34.1
    • 1.35.0
    • 1.36.0
    • 1.37.0
    • 1.38.0
    • 1.39.0
    • 1.39.1
    • 1.4.0
    • 1.4.1
    • 1.40.0
    • 1.41.0
    • 1.41.1
    • 1.42.0
    • 1.42.1
    • 1.43.0
    • 1.44.0
    • 1.45.0
    • 1.5.0
    • 1.6.0
    • 1.6.1
    • 1.6.2
    • 1.7.0
    • 1.7.1
    • 1.8.0
    • 1.9.0
    • 1.9.1
    Affected ranges
    • ECOSYSTEM: < 1.45.1

    Update to 1.45.1

Original sources

Check your server →