{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-54801","id":"CVE-2025-54801","title":"Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder","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 len","descriptionLong":"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.","published":"2025-08-05T23:33:28.221Z","updated":"2026-10-28T02:30:39.852151370Z","reserved":"2025-07-29T16:50:28.395Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["gofiber fiber"],"affectedProducts":[{"vendor":"gofiber","product":"fiber","defaultStatus":null,"versions":[{"version":"< 2.52.9","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-qx2q-88mx-vhg7"}],"cwes":["CWE-789"],"aliases":["GHSA-qx2q-88mx-vhg7","GO-2025-3845"],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-qx2q-88mx-vhg7","tags":["x_refsource_CONFIRM","exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54801.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54801","tags":["advisory"]},{"url":"https://github.com/gofiber/fiber","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00424,"epssPercentile":0.37373,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-54801","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54801","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-54801","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qx2q-88mx-vhg7","ok":true,"note":"GHSA-qx2q-88mx-vhg7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-54801","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}