{"id":"UBUNTU-CVE-2026-118262","details":"Echo is a Go web framework. From 4.15.0 until 4.16.1 and 5.4.1, Echo's Proxy middleware can retain a handler, copy goroutines, and network connections after a WebSocket client disconnects when the upstream keeps its connection open. The raw proxy waits for both copy directions without reliably closing the peer connection when one direction ends, including when a rejected upgrade response uses HTTP keep-alive. Repeated connections can accumulate resources and cause denial of service, depending on proxy-route accessibility, upstream behavior, and connection deadlines. This issue is fixed in 4.16.1 and 5.4.1.","modified":"2026-10-29T20:04:29.602988621Z","published":"2026-10-29T00:00:00Z","upstream":["CVE-2026-118262"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-118262"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-118262"},{"type":"REPORT","url":"https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec"},{"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/releases/tag/v5.4.1"},{"type":"REPORT","url":"https://github.com/labstack/echo/security/advisories/GHSA-9969-6676-49h5"}],"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_name":"golang-github-labstack-echo.v2-dev","binary_version":"2.2.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118262.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-118262.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-118262.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-118262.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-118262.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-118262.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-118262.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-118262.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"}]}