Vulnerabilities · 2025 · Gofiber
CVE-2025-48075
Gofiber Fiber vulnerability
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.
Affected products
Fiber. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gofiber Fiber runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm · Exploit
- github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-48075
- pkg.go.dev/vuln/GO-2025-3706
- github.com/advisories/GHSA-hg3g-gphw-5hhm
- nvd.nist.gov/vuln/detail/CVE-2025-48075
- cve.org/CVERecord?id=CVE-2025-48075
More vulnerabilities in Gofiber products
CVE-2025-66565CVE-2025-54801CVE-2024-38513CVE-2024-25124CVE-2024-22199CVE-2023-45141CVE-2023-45128CVE-2023-41338All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.