Skip to main content

CVE-2026-50277: CWE-770: Allocation of Resources Without Limits or Throttling in DataDog dd-trace-cpp

0
High
VulnerabilityCVE-2026-50277cvecve-2026-50277cwe-770
Published: 09/17/2026 (09/17/2026, 20:16:37 UTC)
Source: CVE Database V5
Vendor/Project: DataDog
Product: dd-trace-cpp

Description

dd-trace-cpp is the Datadog distributed tracing library for C++. Prior to 2.1.0, dd-trace-cpp parses incoming W3C baggage headers without enforcing DD_TRACE_BAGGAGE_MAX_ITEMS or DD_TRACE_BAGGAGE_MAX_BYTES on the extraction path, even though those limits are enforced during injection. A remote unauthenticated attacker can send a header containing many comma-separated key-value pairs or one very large value, causing per-request hash-map allocation and unbounded CPU and memory consumption. Baggage extraction is enabled by default in most affected tracers unless baggage is removed from DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT, so affected internet-facing services can be denied service. This issue is fixed in version 2.1.0.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

DataDog

dd-trace-cpp

Affected versions
<2.1.0
GitHub Actionsmore threats →ai
datadog/dd-trace-cpp
pkg:github/datadog/dd-trace-cpp
Affected versions
<2.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 21:01:37 UTC

Technical Analysis

The dd-trace-cpp library for distributed tracing in C++ versions before 2.1.0 parses incoming W3C baggage headers without enforcing configured limits (DD_TRACE_BAGGAGE_MAX_ITEMS and DD_TRACE_BAGGAGE_MAX_BYTES) on the extraction path, although these limits are enforced during injection. A remote unauthenticated attacker can exploit this by sending a header with many comma-separated key-value pairs or a very large value, causing excessive hash-map allocations and unbounded CPU and memory usage per request. Baggage extraction is enabled by default in most affected tracers unless explicitly disabled. This vulnerability can result in denial of service on internet-facing services using the affected library. The vulnerability is addressed in dd-trace-cpp version 2.1.0.

Potential Impact

An unauthenticated remote attacker can cause denial of service by sending specially crafted W3C baggage headers that trigger excessive resource consumption (CPU and memory) in dd-trace-cpp versions prior to 2.1.0. This can disrupt service availability for affected applications using the vulnerable library.

Mitigation Recommendations

Upgrade dd-trace-cpp to version 2.1.0 or later, where this issue is fixed. Alternatively, disable baggage extraction by removing baggage from DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT to prevent the vulnerability from being exploitable. No other mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-04T16:26:05.985Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aac51eb55bf5e2cf5e0e5bb

Added to database: 09/17/2026, 20:47:39 UTC

Last enriched: 09/17/2026, 21:01:37 UTC

Last updated: 09/17/2026, 23:15:37 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses