CVE-2025-48075
HIGH 7.7CVSS 4.0Fiber panics when fiber.Ctx.BodyParser parses invalid range index
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.
- Published
- 22 May 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-129
- Also known as
- GHSA-hg3g-gphw-5hhmGO-2025-3706
- Sources
- NVDJSONOSV GHSA-hg3g-gphw-5hhmJSONOSV GO-2025-3706JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.7 | 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/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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gofiber | fibercpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:* |
>= 2.0.0, < 2.52.7 | 2.52.7 |
| OSV | Go | github.com/gofiber/fiber/v2 | >= 2.52.6, < 2.52.7 | 2.52.7 |
| OSV | Go | github.com/gofiber/fiber | all versions |
References
- https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d · Patch, WEB, FIX
- https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-48075 · ADVISORY
- https://github.com/gofiber/fiber · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3706 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 22 May 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 May 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 May 2025)