CVE-2026-53659
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.http4k:http4k-coreMaven | >= 6.0.0.0, < 6.49.0.0 | 6.49.0.0 |
org.http4k:http4k-coreMaven | >= 5.0.0.0, < 5.42.0.0 | 5.42.0.0 |
org.http4k:http4k-coreMaven | <= 4.48.2.0 | — |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-g4w2-6h2r-3m3wghsaADVISORY
- github.com/http4k/http4k/releases/tag/6.49.0.0nvdWEB
- github.com/http4k/http4k/security/advisories/GHSA-g4w2-6h2r-3m3wnvdWEB
- github.com/http4k/http4k/commit/2618fe08f9801353012561ae1f1382fa2d37bac9nvd
- github.com/http4k/http4k/commit/9f9e02f8efbbe04e0c70f1c46eef5d9d9067ea5bnvd
News mentions
0No linked articles in our index yet.