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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-10-23T20:49:49.000Z
- Modified: 2026-11-05T23:25:47.730Z
- Also known as: GHSA-h7wr-284f-5qvc, GO-2026-6842
- Weaknesses: CWE-400, CWE-409
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- labstack echo: >= 4.0.0, < 4.16.1
- github.com/labstack/echo/v4 (Go): from 4.0.0 before 4.16.1

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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

- <https://github.com/labstack/echo/security/advisories/GHSA-h7wr-284f-5qvc> (advisory, web)
- <https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f> (fix, web)
- <https://github.com/labstack/echo/releases/tag/v4.16.1> (web)
- <https://github.com/labstack/echo/pull/3136> (fix, web)
- <https://github.com/labstack/echo> (package)

## Sources

- CVE List: [CVE-2026-118261](https://www.cve.org/CVERecord?id=CVE-2026-118261), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-h7wr-284f-5qvc](https://github.com/advisories/GHSA-h7wr-284f-5qvc), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6842](https://pkg.go.dev/vuln/GO-2026-6842), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-118261](https://nvd.nist.gov/vuln/detail/CVE-2026-118261), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-118261 · Whole record: https://cve.day/CVE-2026-118261.json · Rebuilt by cve.day 2026-11-25T22:59:47.669Z
