CVE-2026-50275

Datadog PHP Tracer: Improper parsing of W3C baggage headers may lead to DoS

Published Sep 17, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
The Datadog PHP Tracer provides application performance monitoring and distributed tracing for PHP. Prior to 1.19.2, ddtrace_deserialize_baggage in ext/distributed_tracing_headers.c parses incoming W3C baggage HTTP headers without enforcing DD_TRACE_BAGGAGE_MAX_ITEMS or DD_TRACE_BAGGAGE_MAX_BYTES. A remote unauthenticated client can send an arbitrarily large number of comma-separated key-value pairs or a single oversized value, causing the tracer to allocate hash-map entries and consume unbounded CPU and memory on each request. Baggage extraction is enabled by default in most affected deployments unless baggage is removed from DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT. This issue is fixed in version 1.19.2.

Analysis

AI-generated

Technical impact

This vulnerability allows a remote, unauthenticated attacker to send an arbitrarily large or malformed W3C baggage header. The Datadog PHP Tracer, before version 1.19.2, does not enforce limits on the number of baggage items or the total size of baggage values. When such a header is processed, the tracer allocates hash‑map entries for each key and consumes CPU and memory without bound. The primary impact is an availability loss, as the affected process can become unresponsive or crash due to resource exhaustion.

Affected Systems

The issue affects deployments of DataDog dd-trace-php on any PHP application that employs the default baggage extraction. All versions earlier than 1.19.2 are vulnerable. Upgrading to 1.19.2 or later removes the flaw by enforcing DD_TRACE_BAGGAGE_MAX_ITEMS and DD_TRACE_BAGGAGE_MAX_BYTES limits.

Risk and Exploitability

The CVSS score for this bug is 7.5, indicating a high severity. The EPSS score is below 1 %, suggesting that, at present, exploitation is considered low probability, although the vulnerability remains publicly documented. Because the attacker only needs to craft an HTTP header, the required effort is minimal. The tracer’s default configuration extracts baggage in most installations, so the path to exploitation is straightforward. The bug is not listed in the CISA KEV catalog, but the lack of a public exploit does not reduce the risk of a DoS event if an attacker chooses to test it.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade dd-trace-php to version 1.19.2 or later, which enforces baggage limits.
  • If immediate upgrade is not possible, disable baggage extraction by removing the baggage format from DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT environment variables.
  • Configure PHP resource limits (e.g., memory_limit, max_input_vars) and, if supported, set DD_TRACE_BAGGAGE_MAX_ITEMS and DD_TRACE_BAGGAGE_MAX_BYTES to enforce size constraints on baggage data.

Generated by OpenCVE AI on September 19, 2026 at 01:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Datadog
Datadog dd-trace-php
Vendors & Products Datadog
Datadog dd-trace-php
Metrics ssvc

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

Type Values Removed Values Added
Description The Datadog PHP Tracer provides application performance monitoring and distributed tracing for PHP. Prior to 1.19.2, ddtrace_deserialize_baggage in ext/distributed_tracing_headers.c parses incoming W3C baggage HTTP headers without enforcing DD_TRACE_BAGGAGE_MAX_ITEMS or DD_TRACE_BAGGAGE_MAX_BYTES. A remote unauthenticated client can send an arbitrarily large number of comma-separated key-value pairs or a single oversized value, causing the tracer to allocate hash-map entries and consume unbounded CPU and memory on each request. Baggage extraction is enabled by default in most affected deployments unless baggage is removed from DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT. This issue is fixed in version 1.19.2.
Title Datadog PHP Tracer: Improper parsing of W3C baggage headers 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
Sep 18, 2026, 8:08 PM
Reserved
Jun 4, 2026, 4:26 PM
Status
Awaiting Analysis
Published
Sep 17, 2026, 9:17 PM
Modified
Sep 23, 2026, 6:12 PM