{"id":"CVE-2025-48075","published":"2025-05-22T17:25:18Z","modified":"2025-05-22T17:59:02Z","title":"Fiber panics when fiber.Ctx.BodyParser parses invalid range index","vendor":"gofiber","product":"fiber","tier":"tail","description":{"text":"Fiber is an Express-inspired web framework written in Go. Starting in version 2.52.6 and prior to version 2.52.7, `fiber.Ctx.BodyParser` can map flat data to nested slices using `key[idx]value` syntax, but when idx is negative, it causes a panic instead of returning an error stating it cannot process the data. Since this data is user-provided, this could lead to denial of service for anyone relying on this `fiber.Ctx.BodyParser`  functionality. Version 2.52.7 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","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:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00537,"percentile":0.46143,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":9.23},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"gofiber","affectedVersions":[{"vendor":"gofiber","product":"fiber","versions":[">= 2.52.6, < 2.52.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-22T17:58:04.769002Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gofiber/fiber/v2","vulnerableRanges":[">=2.52.6, <2.52.7"],"patched":["2.52.7"],"from":["GHSA-hg3g-gphw-5hhm","GO-2025-3706"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/gofiber/fiber","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3706"],"provenance":"source"}],"summary":{"text":"The Fiber Go web framework's fiber.Ctx.BodyParser function panics when it parses a negative index in the key[idx]value syntax used to map flat data into nested slices, instead of returning an error. An unauthenticated remote attacker who can send a crafted request body to an application relying on this BodyParser behaviour can trigger the panic and cause a denial of service; no user interaction or special configuration is described as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:02Z"},"euvd":{"id":"EUVD-2025-16352","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-25124","published":"2024-02-21","fixed":"2.52.1","kev":false},{"cve":"CVE-2026-119285","published":"2026-10-29","fixed":"2.52.3","kev":false},{"cve":"CVE-2024-38513","published":"2024-07-01","fixed":"2.52.5","kev":false},{"cve":"CVE-2025-48075","published":"2025-05-22","fixed":"2.52.7","kev":false},{"cve":"CVE-2025-54801","published":"2025-08-05","fixed":"2.52.9","kev":false,"link":{"from":"CVE-2025-48075","to":"CVE-2025-54801","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gofiber/fiber/v2","fromFixed":"2.52.7","toFixed":"2.52.9","daysApart":75}]}},{"cve":"CVE-2025-66630","published":"2026-02-09","fixed":"2.52.11","kev":false},{"cve":"CVE-2026-25882","published":"2026-02-24","fixed":"2.52.12","kev":false}],"package":"Go:github.com/gofiber/fiber/v2"}}