{"cve":"CVE-2025-54801","nvd":{"published":"2025-08-06T00:15:31.033","modified":"2026-06-17T09:40:43.787","status":"Analyzed","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.","cvss_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-789"],"references":["https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d","https://github.com/gofiber/fiber/security/advisories/GHSA-qx2q-88mx-vhg7","https://github.com/gofiber/fiber/security/advisories/GHSA-qx2q-88mx-vhg7"],"products":["gofiber:fiber"],"source":"nvd","synced_at":"2026-10-19T22:06:45.861874017+00:00"},"epss":{"cve":"CVE-2025-54801","score":0.00395,"percentile":0.3373,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qx2q-88mx-vhg7","url":"https://osv.dev/vulnerability/GHSA-qx2q-88mx-vhg7","summary":"Fiber Crashes in BodyParser Due to Unvalidated Large Slice Index in Decoder","modified":"2026-09-10T03:50:27.479656573Z","packages":[{"ecosystem":"Go","name":"github.com/gofiber/fiber/v2","purl":"pkg:golang/github.com/gofiber/fiber/v2","ranges":["<2.52.9"],"fixed":["2.52.9"]}]},{"id":"GO-2025-3845","url":"https://osv.dev/vulnerability/GO-2025-3845","summary":"Fiber Crashes in BodyParser Due to Unvalidated Large Slice Index in Decoder in github.com/gofiber/fiber","modified":"2026-02-04T02:57:36.768757Z","packages":[{"ecosystem":"Go","name":"github.com/gofiber/fiber/v2","purl":"pkg:golang/github.com/gofiber/fiber/v2","ranges":["<2.52.9"],"fixed":["2.52.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}