# CVE-2026-118263: Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- 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.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-10-23T20:49:11.000Z
- Modified: 2026-11-05T23:25:59.837Z
- Also known as: GHSA-x9ff-22gv-65f4, GO-2026-6844
- Weaknesses: CWE-252
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- labstack echo: >= 5.0.0, < 5.4.1
- github.com/labstack/echo/v5 (Go): from 5.0.0 before 5.4.1

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/labstack/echo/security/advisories/GHSA-x9ff-22gv-65f4> (advisory, web)
- <https://github.com/labstack/echo/pull/3105> (fix, web)
- <https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec> (fix, web)
- <https://github.com/labstack/echo/releases/tag/v5.4.1> (web)
- <https://github.com/labstack/echo> (package)

## Sources

- CVE List: [CVE-2026-118263](https://www.cve.org/CVERecord?id=CVE-2026-118263), CVE Terms of Use, modified 2026-11-02
- GitHub Advisory Database: [GHSA-x9ff-22gv-65f4](https://github.com/advisories/GHSA-x9ff-22gv-65f4), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6844](https://pkg.go.dev/vuln/GO-2026-6844), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-118263](https://nvd.nist.gov/vuln/detail/CVE-2026-118263), Public domain, modified 2026-11-04

---

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