Skip to main content
← All vulnerabilities
CVE-2026-118261EUVD-2026-112370GHSA-H7WR-284F-5QVC

Echo: Decompress permits unbounded gzip expansion in v4

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.16.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Echo, a Go web framework, is affected when its optional Decompress middleware is enabled for gzip-compressed requests. A small compressed request can expand into a very large body, using excessive memory or CPU and potentially allowing denial of service.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

Echo is a Go web framework. From 4.0.0 until 4.16.1, Echo v4's opt-in Decompress middleware exposes a gzip-decoded request stream without limiting its expanded size. A small compressed request can expand into a very large body when a handler reads or binds it, consuming excessive memory or CPU and allowing repeated or concurrent requests to cause denial of service. The middleware is not enabled by default, and limiting only the compressed request size does not bound the decoded size. This issue is fixed in 4.16.1.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • labstack echo

    From 4.0.0 · fixed in 4.16.1

  • github.com/labstack/echo/v4Go

    From 4.0.0 · fixed in 4.16.1

References 3

GitHub · labstack/echo