CVE-2026-53659
HIGH 7.5CVSS 3.1http4k: Unbounded gzip decompression in `ServerFilters.GZip` / `RequestFilters.GunZip` allowed memory-exhaustion DoS
http4k is a functional toolkit for Kotlin HTTP applications. Prior to 4.51.0.0, 5.42.0.0, and 6.49.0.0, ServerFilters.GZip, RequestFilters.GunZip, and the underlying Gzip request-body decompression functions impose no limit on decompressed size. An unauthenticated client can send a small gzip-encoded request body that expands to gigabytes, exhausting the JVM heap and denying service to other clients. The fix uses SizeLimitedInputStream to enforce a default 10 MiB limit, causes ServerFilters.GZip and RequestFilters.GunZip to return 413 Request Entity Too Large, and causes other decompression paths to throw SizeLimitExceededException. This issue is fixed in versions 4.51.0.0, 5.42.0.0, and 6.49.0.0.
- Published
- 14 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-409
- Also known as
- GHSA-g4w2-6h2r-3m3w
- Sources
- NVDJSONOSV GHSA-g4w2-6h2r-3m3wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.http4k:http4k-core | >= 6.0.0.0, < 6.49.0.0 | 6.49.0.0 |
| OSV | Maven | org.http4k:http4k-core | >= 5.0.0.0, < 5.42.0.0 | 5.42.0.0 |
| OSV | Maven | org.http4k:http4k-core | <= 4.48.2.0 |
References
- https://github.com/http4k/http4k/commit/2618fe08f9801353012561ae1f1382fa2d37bac9
- https://github.com/http4k/http4k/commit/9f9e02f8efbbe04e0c70f1c46eef5d9d9067ea5b
- https://github.com/http4k/http4k/releases/tag/6.49.0.0 · WEB
- https://github.com/http4k/http4k/security/advisories/GHSA-g4w2-6h2r-3m3w · WEB
- https://github.com/http4k/http4k · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 14 Sep 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Aug 2026)