{"id":"CVE-2026-23886","published":"2026-01-19T21:01:52Z","modified":"2026-01-21T20:47:10Z","title":"Swift W3C TraceContext has malformed HTTP header that can cause a crash","vendor":"swift-otel","product":"swift-w3c-trace-context","tier":"tail","description":{"text":"Swift W3C TraceContext is a Swift implementation of the W3C Trace Context standard, and Swift OTel is an OpenTelemetry Protocol (OTLP) backend for Swift Log, Swift Metrics, and Swift Distributed Tracing. Prior to Swift W3C TraceContext version 1.0.0-beta.5 and Swift OTel version 1.0.4, a denial-of-service vulnerability due to improper input validation allows a remote attacker to crash the service via a malformed HTTP header. This allows crashing the process with data coming from the network when used with, for example, an HTTP server. Most common way of using Swift W3C Trace Context is through Swift OTel. Version 1.0.0-beta.5 of Swift W3C TraceContext and version 1.0.4 of Swift OTel contain a patch for this issue. As a workaround, disable either Swift OTel or the code that extracts the trace information from an incoming header (such as a `TracingMiddleware`).","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00798,"percentile":0.53165,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/swift-otel/swift-w3c-trace-context/security/advisories/GHSA-mvpq-2v8x-ww6g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/swift-otel/swift-w3c-trace-context/commit/5da9b143ba6046734de3fa51dafea28290174e4e","tags":["x_refsource_MISC"]},{"url":"https://github.com/swift-otel/swift-otel/releases/tag/1.0.4","tags":["x_refsource_MISC"]},{"url":"https://github.com/swift-otel/swift-w3c-trace-context/releases/tag/1.0.0-beta.5","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":10.63},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"swift-otel","affectedVersions":[{"vendor":"swift-otel","product":"swift-w3c-trace-context","versions":["swift-otel < 1.0.4","swift-w3c-trace-context < 1.0.0-beta.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-21T20:46:16.441110Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"SwiftURL","package":"github.com/swift-otel/swift-w3c-trace-context","vulnerableRanges":["<1.0.0-beta.5"],"patched":["1.0.0-beta.5"],"from":["GHSA-mvpq-2v8x-ww6g"],"provenance":"source"},{"ecosystem":"SwiftURL","package":"github.com/swift-otel/swift-otel","vulnerableRanges":["<1.0.4"],"patched":["1.0.4"],"from":["GHSA-mvpq-2v8x-ww6g"],"provenance":"source"}],"summary":{"text":"The Swift W3C TraceContext library, a Swift implementation of the W3C Trace Context standard used mainly through Swift OTel's OpenTelemetry backend for Swift Log, Metrics and Distributed Tracing, improperly validates input in its handling of trace headers. A remote attacker who can send an HTTP request to a service that extracts trace information from incoming headers (for example via a TracingMiddleware) can crash the process with a single malformed header, requiring no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:14Z"},"euvd":{"id":"EUVD-2026-3282","exploited":false,"provenance":"source"}}