{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.0.0"
                  },
                  {
                    "fixed": "5.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "1855061e572ae9dab727c811d8382f266bfbaaec"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v5.4.1",
                "range": [
                  {
                    "fixed": "a6a9673a54d2c719ceb32ce6a929d35483acfb2b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "9500f2745481e2dff1313e2e6734c488e80c13fb"
            },
            {
              "fixed": "a6a9673a54d2c719ceb32ce6a929d35483acfb2b"
            },
            {
              "fixed": "1855061e572ae9dab727c811d8382f266bfbaaec"
            }
          ],
          "repo": "https://github.com/labstack/echo",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-x9ff-22gv-65f4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-252"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118263.json"
  },
  "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.",
  "id": "CVE-2026-118263",
  "modified": "2026-10-29T10:30:42.151952400Z",
  "published": "2026-10-28T19:01:30.268Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests"
}