CVE-2026-28975: swift-nio-extras NIOHTTPRequestDecompressor ratio limit bypass
CVE-2026-28975 affects swift-nio-extras in the NIOHTTPRequestDecompressor component. When decompression protection is configured using the .ratio(N) limit, the implementation can be bypassed by an attacker supplying a falsified inflated Content-Length header. The vulnerable logic relies on the header-supplied Content-Length value when enforcing the decompression ratio limit, rather than tracking the actual compressed bytes received. As a result, a highly compressed request body can be accepted and decompressed without the intended protection being applied.
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.
Successful exploitation allows an attacker to bypass the configured decompression ratio safeguard and force the server to process highly compressed payloads beyond intended limits. This can result in excessive or unbounded memory consumption and denial of service.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, use .size(N) instead of .ratio(N) for decompression protection where a fixed upper bound on decompressed output is acceptable. The .size limit is not affected because it does not depend on the Content-Length header.
Remediation
Patch, then assume compromise.
Upgrade swift-nio-extras to version 1.34.1 or later. According to the advisory, the fix changes decompression limit enforcement so that it tracks actual compressed bytes received instead of relying on the attacker-controlled Content-Length header.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-28975 exploited in the wild?
- As of Jun 13, 2026, Mallory has no reports of CVE-2026-28975 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-28975?
- As of Jun 13, 2026, Mallory has found no public exploit for CVE-2026-28975.
- Is there a patch for CVE-2026-28975?
- Upgrade swift-nio-extras to version 1.34.1 or later. According to the advisory, the fix changes decompression limit enforcement so that it tracks actual compressed bytes received instead of relying on the attacker-controlled Content-Length header.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.