CVE-2026-118261 Echo: Decompress permits unbounded gzip expansion in v4
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 1 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-labstack-echo(Debian 12) | = 4.2.1-3; = 4.11.1-1; = 4.11.1-2; = 4.12.0-1 +1 more | No fix listed | No fix yet |
| debian/golang-github-labstack-echo(Debian 13) | = 4.12.0-1; All versions | No fix listed | No fix yet |
| debian/golang-github-labstack-echo(Debian 14) | = 4.12.0-1; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo.v2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo.v3(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| labstack github.com/labstack/echo/v4(Go) | >= 4.0.0, < 4.16.1 | 4.16.1 | Fixed |
| labstack github.com/labstack/echo/v4 | = >= 4.0.0, < 4.16.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| labstack github.com/labstack/echo/v4(Go) | >= 4.0.0, < 4.16.1 | 4.16.1 |
| labstack github.com/labstack/echo/v4 | = >= 4.0.0, < 4.16.1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | All versions | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.11.1-1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.11.1-2 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.12.0-1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.2.1-3 | No fix listed |
| debian/golang-github-labstack-echo(Debian:13) | All versions | No fix listed |
| debian/golang-github-labstack-echo(Debian:13) | = 4.12.0-1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:14) | All versions | No fix listed |
| debian/golang-github-labstack-echo(Debian:14) | = 4.12.0-1 | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo.v2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo.v3(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2563149 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f patch
- https://github.com/labstack/echo/releases/tag/v4.16.1
- https://github.com/labstack/echo/security/advisories/GHSA-h7wr-284f-5qvc vendor-advisory
- github.com patch
- github.com product
- Debian Security Tracker CVE-2026-118261 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-112370 third-party-advisory