cve.bz

CVE-2026-118263 labstack echo: Unchecked Return Value

6.3 mediumEPSS 0.4%Fix available

Medium (6.3) in labstack echo. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/labstack/echo/v5 5.4.1.

On this page
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 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
EPSS
0.4% (unchanged from 0.4% a week ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-252 Unchecked Return Value
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Under analysis
Record from
the NVD, synced

Fix and patched versions

  • github.com/labstack/echo/v5 (Go): fixed in 5.4.1

Ask an AI about this CVE

Show the promptExplain CVE-2026-118263 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-118263?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-118263?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-118263 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
labstack echo>= 5.0.0, < 5.4.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x9ff-22gv-65f4Gogithub.com/labstack/echo/v5>=5.0.0 <5.4.15.4.1
GO-2026-6844Gogithub.com/labstack/echo/v5>=5.0.0 <5.4.15.4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTSgolang-github-labstack-echo.v2, golang-github-labstack-echo.v3no fix listedUBUNTU-CVE-2026-118263
Ubuntu22.04:LTSgolang-github-labstack-echo, golang-github-labstack-echo.v2, golang-github-labstack-echo.v3no fix listedUBUNTU-CVE-2026-118263
Ubuntu24.04:LTS, 26.04:LTS, 26.10golang-github-labstack-echono fix listedUBUNTU-CVE-2026-118263

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity because exploitation requires a specific configuration combining both BodyDump and BodyLimit middlewares where the capture threshold is set below the enforced body limit. Furthermore, the issue only impacts indeterminate-length or chunked HTTP requests, as standard requests with fixed Content-Length headers are rejected before reaching the vulnerable logic. As a result, the flaw allows an attacker to bypass payload size boundaries and force truncation rather than enabling remote code execution, authentication compromise, or denial of service.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-118263.

References

Check your stackJSON