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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-h7wr-284f-5qvc | Echo: Decompress permits unbounded gzip expansion in v4 |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 28 Oct 2026 21:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Labstack
Labstack echo |
|
| Vendors & Products |
Labstack
Labstack echo |
Wed, 28 Oct 2026 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Echo: Decompress permits unbounded gzip expansion in v4 | |
| Weaknesses | CWE-400 CWE-409 |
|
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-10-28T18:58:43.504Z
Reserved: 2026-10-27T20:13:55.314Z
Link: CVE-2026-118261
No data.
Status : Received
Published: 2026-10-28T19:17:30.810
Modified: 2026-10-28T19:17:30.810
Link: CVE-2026-118261
No data.
OpenCVE Enrichment
Updated: 2026-10-28T20:45:15Z
Github GHSA