CVE-2026-118261

high

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.

References

https://github.com/labstack/echo/security/advisories/GHSA-h7wr-284f-5qvc

https://github.com/labstack/echo/releases/tag/v4.16.1

https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-112370

Details

Source: Mitre, NVD

Published: 2026-10-28

Updated: 2026-10-29

Named Vulnerability: GHSA-h7wr-284f-5qvc

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

CVSS v4

Base Score: 8.2

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

Severity: High

EPSS

EPSS: 0.00372