{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.19.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2f7987eb02e306bb62bce8ec4152dece68112f51"
            },
            {
              "fixed": "43072ccafe55a5dbdfba75a42bf316b4150ae1e5"
            },
            {
              "fixed": "7038807b6f49224ca2cd1c463a3854026ff2bd2d"
            },
            {
              "fixed": "818209f8b2b2f0cfc1de1a2e1c5625f3667c1504"
            }
          ],
          "repo": "https://github.com/datadog/dd-trace-php",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-phwx-ww2p-cv9v"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50275.json"
  },
  "details": "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.",
  "id": "CVE-2026-50275",
  "modified": "2026-09-20T11:30:46.881089893Z",
  "published": "2026-09-17T20:04:26.605Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/DataDog/dd-trace-php/releases/tag/1.19.2"
    },
    {
      "type": "WEB",
      "url": "https://github.com/DataDog/dd-trace-php/releases/tag/1.20.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50275.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/DataDog/dd-trace-php/security/advisories/GHSA-phwx-ww2p-cv9v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50275"
    },
    {
      "type": "FIX",
      "url": "https://github.com/DataDog/dd-trace-php/commit/2f7987eb02e306bb62bce8ec4152dece68112f51"
    },
    {
      "type": "FIX",
      "url": "https://github.com/DataDog/dd-trace-php/commit/43072ccafe55a5dbdfba75a42bf316b4150ae1e5"
    },
    {
      "type": "FIX",
      "url": "https://github.com/DataDog/dd-trace-php/pull/3854"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Datadog PHP Tracer: Improper parsing of W3C baggage headers may lead to DoS"
}