# CVE-2026-53659: http4k: Unbounded gzip decompression in `ServerFilters.GZip` / `RequestFilters.GunZip` allowed memory-exhaustion DoS

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-08-17T21:52:27.000Z
- Modified: 2026-09-30T19:57:08.043Z
- Also known as: GHSA-g4w2-6h2r-3m3w
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- http4k http4k: < 4.51.0.0; >= 5.0.0.0, < 5.42.0.0; >= 6.0.0.0, < 6.49.0.0
- org.http4k:http4k-core (Maven): from 6.0.0.0 before 6.49.0.0; from 5.0.0.0 before 5.42.0.0; up to 4.48.2.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/http4k/http4k/security/advisories/GHSA-g4w2-6h2r-3m3w> (web)
- <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> (package)

## Sources

- CVE List: [CVE-2026-53659](https://www.cve.org/CVERecord?id=CVE-2026-53659), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-g4w2-6h2r-3m3w](https://github.com/advisories/GHSA-g4w2-6h2r-3m3w), CC-BY-4.0, modified 2026-08-17
- NVD: [CVE-2026-53659](https://nvd.nist.gov/vuln/detail/CVE-2026-53659), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-53659 · Whole record: https://cve.day/CVE-2026-53659.json · Rebuilt by cve.day 2026-11-25T22:59:38.325Z
