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.
Severity (CVSS)
| Base score | 6.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-252 — CWE-252: Unchecked Return Value
Affected products
| Vendor | Product | Versions |
|---|---|---|
| labstack | echo | >= 5.0.0, < 5.4.1 [affected] |
References
- https://github.com/labstack/echo/security/advisories/GHSA-x9ff-22gv-65f4 (x_refsource_CONFIRM)
- https://github.com/labstack/echo/pull/3105 (x_refsource_MISC)
- https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec (x_refsource_MISC)
- https://github.com/labstack/echo/releases/tag/v5.4.1 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 29 Oct 2026 07:02 UTC.