Affected versions
- Affected versions
- < 1.0.4
- Fixed version
- 1.0.4
- Affected versions
- < 1.0.0-beta.5
- Fixed version
- 1.0.0-beta.5
Exploitation
Description
Impact
A denial-of-service vulnerability due to improper input validation allows a remote attacker to crash the service via a malformed HTTP header.
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.
Patches
Workarounds
Disable either Swift OTel or the code that extracts the trace information from an incoming header (such as a TracingMiddleware).
References
Links
- https://github.com/advisories/GHSA-mvpq-2v8x-ww6g
- https://github.com/swift-otel/swift-otel/releases/tag/1.0.4
- https://github.com/swift-otel/swift-w3c-trace-context
- https://github.com/swift-otel/swift-w3c-trace-context/commit/5da9b143ba6046734de3fa51dafea28290174e4e
- https://github.com/swift-otel/swift-w3c-trace-context/releases/tag/1.0.0-beta.5
- https://github.com/swift-otel/swift-w3c-trace-context/security/advisories/GHSA-mvpq-2v8x-ww6g
- https://nvd.nist.gov/vuln/detail/CVE-2026-23886
Credits
- czechboy0
- slashmo

