CVE-2026-50277 dd-trace-cpp: Improper parsing of W3C baggage headers may lead to DoS

High 7.5 Published Updated

Remote attackers can cause denial of service in services using dd-trace-cpp by sending oversized W3C baggage headers, leading to resource exhaustion.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-50277?

CVE-2026-50277 is a high-severity denial of service vulnerability in DataDog dd-trace-cpp, published on 17 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-770

Which versions are affected by CVE-2026-50277?

How do I fix CVE-2026-50277?

No fix has been published for CVE-2026-50277 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-50277 being exploited?

There is no known exploitation of CVE-2026-50277 in the wild and no public exploit code.

Sources

Also known as GHSA-ch7h-phmx-rqwq.

Is CVE-2026-50277 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free