CVE-2026-28980: Unbounded HTTP/1 Header Block DoS in SwiftNIO NIOHTTP1 HTTPDecoder
SwiftNIO's NIOHTTP1 HTTPDecoder accepts unbounded HTTP/1 header blocks. When processing HTTP/1 requests or responses, the decoder can accumulate header data without sufficient limits, allowing a remote peer to send excessively large or numerous headers. This can exhaust memory in applications using NIOHTTP1 and, in some downstream frameworks, may also trigger a process crash when framework-level header count limits are exceeded after the decoder has already accumulated the data.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A single unauthenticated remote attacker can cause denial of service against affected HTTP/1 servers or clients built on NIOHTTP1. The primary impact is memory exhaustion due to unbounded header accumulation; in some downstream integrations, exploitation may also terminate the process if header count limits are hit in later-stage handling. This can render the service unavailable.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, deploy a reverse proxy or intermediary in front of the affected service that enforces strict limits on total HTTP header size and header count equivalent to the fixed decoder behavior.
Remediation
Patch, then assume compromise.
Upgrade swift-nio to version 2.100.0 or later. The fix adds configurable decoder limits through NIOHTTPDecoderLimitConfiguration, with defaults including maxHeaderFieldSize of 80 KB, maxHeaderListSize of 2 MB, and maxHeaderFieldCount of 256.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-28980 exploited in the wild?
- As of Jun 13, 2026, Mallory has no reports of CVE-2026-28980 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-28980?
- As of Jun 13, 2026, Mallory has found no public exploit for CVE-2026-28980.
- Is there a patch for CVE-2026-28980?
- Upgrade swift-nio to version 2.100.0 or later. The fix adds configurable decoder limits through NIOHTTPDecoderLimitConfiguration, with defaults including maxHeaderFieldSize of 80 KB, maxHeaderListSize of 2 MB, and maxHeaderFieldCount of 256.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.