Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.http4k/http4k-core
  4. ›
  5. CVE-2026-53659

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

August 17, 2026

ServerFilters.GZip and RequestFilters.GunZip (and the underlying Gzip functions used to decompress request bodies) did not impose any cap on the decompressed size. A small malicious gzip-encoded request body (on the order of kilobytes) could decompress to gigabytes, exhausting the JVM heap and denying service to other clients.

Who is affected: any http4k server that accepts gzip-encoded requests via ServerFilters.GZip or RequestFilters.GunZip. Exploitable by any unauthenticated client. The vulnerability was introduced on 2017-08-01 (commit 2618fe08f9) and was present for ~9 years.

References

  • github.com/advisories/GHSA-g4w2-6h2r-3m3w
  • github.com/http4k/http4k/releases/tag/6.49.0.0
  • github.com/http4k/http4k/security/advisories/GHSA-g4w2-6h2r-3m3w
  • nvd.nist.gov/vuln/detail/CVE-2026-53659

Code Behaviors & Features

Detect and mitigate CVE-2026-53659 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.48.2, all versions starting from 5.0.0 before 5.42.0, all versions starting from 6.0.0 before 6.49.0

Fixed versions

  • 5.42.0
  • 6.49.0

Solution

Upgrade to versions 5.42.0, 6.49.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)

Source file

maven/org.http4k/http4k-core/CVE-2026-53659.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 05 Sep 2026 12:17:19 +0000.