CVE-2026-54788

dd-trace-rs: Unbounded W3C tracestate parsing may lead to DoS

Published Aug 28, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Datadog
Datadog dd-trace-rs
Vendors & Products Datadog
Datadog dd-trace-rs
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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 31, 2026, 6:57 PM
Reserved
Jun 15, 2026, 11:23 PM
Status
Deferred
Published
Aug 28, 2026, 8:18 PM
Modified
Sep 9, 2026, 9:09 PM