{"id":"CVE-2026-118263","summary":"Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests","details":"Echo is a Go web framework. From 5.0.0 until 5.4.1, Echo v5's BodyDump middleware can discard a BodyLimit overflow error for an unknown-length request when BodyDump's capture limit is below the BodyLimit threshold. BodyDump drains the remaining body while ignoring read errors and replaces it with the captured prefix, so an HTTP/1.1 chunked request can be truncated and processed successfully even though the original body exceeded the configured limit. Known-length requests rejected before BodyDump runs are unaffected, and the issue does not establish a general authentication bypass or denial of service. This issue is fixed in 5.4.1.","aliases":["GHSA-x9ff-22gv-65f4"],"modified":"2026-10-29T10:45:55.995793715Z","published":"2026-10-28T19:01:30.268Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118263.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-252"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118263.json"},{"type":"FIX","url":"https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec"},{"type":"FIX","url":"https://github.com/labstack/echo/pull/3105"},{"type":"WEB","url":"https://github.com/labstack/echo/releases/tag/v5.4.1"},{"type":"ADVISORY","url":"https://github.com/labstack/echo/security/advisories/GHSA-x9ff-22gv-65f4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118263"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/labstack/echo","events":[{"introduced":"9500f2745481e2dff1313e2e6734c488e80c13fb"},{"fixed":"a6a9673a54d2c719ceb32ce6a929d35483acfb2b"},{"fixed":"1855061e572ae9dab727c811d8382f266bfbaaec"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"5.0.0"},{"fixed":"5.4.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"1855061e572ae9dab727c811d8382f266bfbaaec"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"a6a9673a54d2c719ceb32ce6a929d35483acfb2b"}],"source":"REFERENCES_TAG","original_tag":"v5.4.1"}]}}],"versions":["v5.4.0","v5.3.1","v5.3.0","v5.2.1","v5.2.0","v5.1.1","v5.1.0","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118263.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:L/VA:N/SC:N/SI:N/SA:N"}]}