{"id":"CVE-2026-54788","aliases":["GHSA-gpwf-4h98-v82q"],"url":"https://o3.security/vulnerability/CVE-2026-54788","summary":"dd-trace-rs: Unbounded W3C tracestate parsing may lead to DoS","details":"### Impact\nDatadog tracing libraries that implement W3C Trace Context (`tracecontext`) propagation parse the incoming `tracestate` header without enforcing a size cap on the Datadog vendor entry (`dd=...`). The `dd=` value contains semicolon-separated `key:value` pairs, and the parser allocates a hash-map entry for each pair. A remote, unauthenticated attacker can send a `tracestate` header whose `dd=` member is arbitrarily large (or contains an arbitrarily large number of pairs), forcing unbounded CPU and memory consumption per request and enabling a remote Denial of Service. `tracecontext` extraction is enabled by default in affected tracers, so any internet-facing service instrumented with an affected version is exposed unless `tracecontext` has been explicitly removed from the propagation style configuration.\n\n### Patches\nThis is resolved in version 0.3.3 and later of the `dd-trace-rs` library.\n\n### Workarounds\nIf you cannot upgrade immediately:\n1. Disable `tracecontext` extraction by setting `DD_TRACE_PROPAGATION_STYLE_EXTRACT` to a value that does not include `tracecontext` (for example, `datadog`).\n2. Cap the maximum HTTP request header size at an upstream proxy or web server.","published":"2026-08-28T16:33:49.032Z","modified":"2026-09-11T03:30:46.739709130Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00562,"percentile":0.44993,"asOf":"2026-09-12"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"datadog-opentelemetry","fixedVersion":"0.3.3"}],"fix":{"url":"https://github.com/DataDog/dd-trace-rs/commit/77c5d185c71d0ea8103da0e6cf4cd50677ffacd2","label":"DataDog/dd-trace-rs@77c5d18"},"references":[{"type":"WEB","url":"https://github.com/DataDog/dd-trace-rs/releases/tag/datadog-opentelemetry-v0.3.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54788.json"},{"type":"ADVISORY","url":"https://github.com/DataDog/dd-trace-rs/security/advisories/GHSA-gpwf-4h98-v82q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54788"},{"type":"FIX","url":"https://github.com/DataDog/dd-trace-rs/commit/77c5d185c71d0ea8103da0e6cf4cd50677ffacd2"},{"type":"FIX","url":"https://github.com/DataDog/dd-trace-rs/pull/218"},{"type":"PACKAGE","url":"https://github.com/DataDog/dd-trace-rs"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-11T03:30:46.739709130Z"}}