# CVE-2026-23886: Swift W3C TraceContext has malformed HTTP header that can cause a crash

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-01-19T21:01:52.694Z
- Modified: 2026-06-17T10:22:15.497Z
- Also known as: GHSA-mvpq-2v8x-ww6g
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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`).

(As written by CVE List.)

## Affected

- swift-otel swift-w3c-trace-context: swift-otel < 1.0.4; swift-w3c-trace-context < 1.0.0-beta.5
- github.com/swift-otel/swift-w3c-trace-context (SwiftURL): before 1.0.0-beta.5
- github.com/swift-otel/swift-otel (SwiftURL): before 1.0.4

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/swift-otel/swift-w3c-trace-context/security/advisories/GHSA-mvpq-2v8x-ww6g> (web)
- <https://github.com/swift-otel/swift-w3c-trace-context/commit/5da9b143ba6046734de3fa51dafea28290174e4e> (web)
- <https://github.com/swift-otel/swift-otel/releases/tag/1.0.4> (web)
- <https://github.com/swift-otel/swift-w3c-trace-context/releases/tag/1.0.0-beta.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23886> (advisory)
- <https://github.com/swift-otel/swift-w3c-trace-context> (package)

## Sources

- CVE List: [CVE-2026-23886](https://www.cve.org/CVERecord?id=CVE-2026-23886), CVE Terms of Use, modified 2026-01-21
- GitHub Advisory Database: [GHSA-mvpq-2v8x-ww6g](https://github.com/advisories/GHSA-mvpq-2v8x-ww6g), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-23886](https://nvd.nist.gov/vuln/detail/CVE-2026-23886), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23886 · Whole record: https://cve.day/CVE-2026-23886.json · Rebuilt by cve.day 2026-11-25T22:59:12.959Z
