{"id":"UBUNTU-CVE-2026-118261","details":"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.","modified":"2026-10-29T20:04:29.641851537Z","published":"2026-10-29T00:00:00Z","upstream":["CVE-2026-118261"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-118261"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-118261"},{"type":"REPORT","url":"https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f"},{"type":"REPORT","url":"https://github.com/labstack/echo/releases/tag/v4.16.1"},{"type":"REPORT","url":"https://github.com/labstack/echo/security/advisories/GHSA-h7wr-284f-5qvc"}],"affected":[{"package":{"name":"golang-github-labstack-echo.v2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-labstack-echo.v2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.0-1","binary_name":"golang-github-labstack-echo.v2-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118261.json"}},{"package":{"name":"golang-github-labstack-echo.v3","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-labstack-echo.v3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.5-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.5-1","binary_name":"golang-github-labstack-echo.v3-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118261.json"}},{"package":{"name":"golang-github-labstack-echo","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"4.2.1-2","binary_name":"golang-github-labstack-echo-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118261.json"}},{"package":{"name":"golang-github-labstack-echo.v2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-labstack-echo.v2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-labstack-echo.v2-dev","binary_version":"2.2.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118261.json"}},{"package":{"name":"golang-github-labstack-echo.v3","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-labstack-echo.v3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.10-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-labstack-echo.v3-dev","binary_version":"3.3.10-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118261.json"}},{"package":{"name":"golang-github-labstack-echo","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-labstack-echo-dev","binary_version":"4.11.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118261.json"}},{"package":{"name":"golang-github-labstack-echo","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-labstack-echo-dev","binary_version":"4.12.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118261.json"}},{"package":{"name":"golang-github-labstack-echo","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.12.0-1","binary_name":"golang-github-labstack-echo-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118261.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}