Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M

CVE-2026-118261Echo: Decompress permits unbounded gzip expansion in v4

High 8.2

In plain English

A high-severity uncontrolled resource consumption in echo from labstack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.2High
Exploit odds (30 days)0.4%top 68.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118261
Debian:13golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118261
Debian:14golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118261
Gogithub.com/labstack/echo/v44.16.1GO-2026-6842
Gogithub.com/labstack/echo/v44.16.1GHSA-h7wr-284f-5qvc
Ubuntu:22.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118261
Ubuntu:24.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118261
Ubuntu:26.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118261
Ubuntu:26.10golang-github-labstack-echono fix listedUBUNTU-CVE-2026-118261
Ubuntu:22.04:LTSgolang-github-labstack-echo.v2no fix listedUBUNTU-CVE-2026-118261
Ubuntu:22.04:LTSgolang-github-labstack-echo.v3no fix listedUBUNTU-CVE-2026-118261

Affected products (as reported)

VendorProductVersions
labstack echo >= 4.0.0, < 4.16.1

Weakness: CWE-400, CWE-409 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References