{
  "id": "CVE-2025-54801",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-54801",
  "published_at": "2025-08-05T23:33:28.221Z",
  "title": "Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder",
  "vendor": "gofiber",
  "product": "fiber",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Fiber is an Express inspired web framework written in Go. In versions 2.52.8 and below, when using Fiber's Ctx.BodyParser to parse form data containing a large numeric key that represents a slice index (e.g., test.18446744073704), the application crashes due to an out-of-bounds slice allocation in the underlying schema decoder. The root cause is that the decoder attempts to allocate a slice of length idx + 1 without validating whether the index is within a safe or reasonable range. If the idx is excessively large, this leads to an integer overflow or memory exhaustion, causing a panic or crash. This is fixed in version 2.52.9.",
  "cwe": "CWE-789",
  "cpes": [
    "cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "gofiber",
        "product": "fiber",
        "ranges": [
          "\u003c 2.52.9"
        ],
        "fixed_in": [
          "2.52.9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade fiber to 2.52.9 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/gofiber/fiber/security/advisories/GHSA-qx2q-88mx-vhg7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
