Description
dd-trace-rs provides Datadog application performance monitoring for Rust. From 0.1.0 until 0.3.3, datadog-opentelemetry/src/propagation/tracecontext.rs parses the W3C tracestate header and collects every semicolon-separated key and value pair in the Datadog dd=... vendor entry into a HashMap without enforcing a pair count or entry size limit. Because tracecontext extraction is enabled by default, a remote unauthenticated attacker can send an arbitrarily large dd=... entry and force excessive CPU and memory consumption for each request, causing denial of service in an instrumented network service. This vulnerability is fixed in 0.3.3.
Published: 2026-08-28
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in dd‑trace‑rs occurs when parsing the W3C tracestate header; the library stores every semicolon‑separated key/value pair from the Datadog dd=… vendor entry into a HashMap without limiting the number of pairs or the size of each entry. An attacker can send a request with an arbitrarily large dd=… header, causing the application to consume excessive CPU and memory on each request and ultimately resulting in denial of service. The likely attack vector is through a crafted HTTP request header, and no authentication is required.

Affected Systems

DataDog's dd‑trace‑rs library, versions 0.1.0 through 0.3.3, is affected. The fix was released in version 0.3.3. Applications that instrument with dd‑trace‑rs within this version range are at risk if they accept external W3C tracestate headers.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Because tracecontext extraction is enabled by default, a remote unauthenticated attacker can exploit this via an HTTP header, making it an external attack. The exploit requires only the ability to send HTTP requests to the instrumented service; no authentication or privileged access is needed.

Generated by OpenCVE AI on August 28, 2026 at 20:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the dd‑trace‑rs library to version 0.3.3 or later, which contains the fix.
  • If an upgrade cannot be performed immediately, disable tracecontext extraction or configure the application to reject large tracestate headers before parsing.
  • Monitor application CPU and memory usage for sudden spikes, and consider setting rate limiting or connection throttling to mitigate the impact of large headers.

Generated by OpenCVE AI on August 28, 2026 at 20:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-gpwf-4h98-v82q datadog-opentelemetry has unbounded W3C tracestate parsing that may lead to DoS
History

Fri, 28 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description dd-trace-rs provides Datadog application performance monitoring for Rust. From 0.1.0 until 0.3.3, datadog-opentelemetry/src/propagation/tracecontext.rs parses the W3C tracestate header and collects every semicolon-separated key and value pair in the Datadog dd=... vendor entry into a HashMap without enforcing a pair count or entry size limit. Because tracecontext extraction is enabled by default, a remote unauthenticated attacker can send an arbitrarily large dd=... entry and force excessive CPU and memory consumption for each request, causing denial of service in an instrumented network service. This vulnerability is fixed in 0.3.3.
Title dd-trace-rs: Unbounded W3C tracestate parsing may lead to DoS
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-28T16:33:49.032Z

Reserved: 2026-06-15T23:23:57.714Z

Link: CVE-2026-54788

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T20:18:17.950

Modified: 2026-08-28T20:18:17.950

Link: CVE-2026-54788

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T21:00:04Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling