CVE Catalog

CVE-2026-118261

HighCVSS 8.2
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker can exhaust server memory and CPU through repeated or concurrent requests, causing denial of service. The risk affects applications that enabled the Decompress middleware on publicly accessible routes.

Recommendation

Update Echo to version 4.16.1 (or later). If not required, disable the Decompress middleware; if used, limit the body size after decompression.

Other vulnerabilities in Echo

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS