CVE-2025-48075: GO-2025-3706 - Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber

CVE-2025-48075 · Severity: medium · CVSS 4 · Published 2025-05-27

Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber

Technologies: github.com/gofiber/fiber (Go), github.com/gofiber/fiber/v2 (Go). Vendors: Go.

Quick answers

Is CVE-2025-48075 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-48075 being exploited in the wild.
How severe is CVE-2025-48075?
Medium severity, with a CVSS score of 4, published 27 May 2025.
Which products and versions are affected?
github.com/gofiber/fiber (Go) SEMVER:introduced=0; github.com/gofiber/fiber/v2 (Go) SEMVER:introduced=2.52.6,fixed=2.52.7.
Is there a fix for CVE-2025-48075?
Yes. github.com/gofiber/fiber/v2 (Go): upgrade to 2.52.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-48075?
Check whether you run github.com/gofiber/fiber (Go) or github.com/gofiber/fiber/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/gofiber/fiber/v2 (Go): upgrade to 2.52.7 or later
    go get github.com/gofiber/fiber/v2@v2.52.7

Affected products

  • github.com/gofiber/fiber (Go) SEMVER:introduced=0
  • github.com/gofiber/fiber/v2 (Go) SEMVER:introduced=2.52.6,fixed=2.52.7

Identifiers

  • CVE-2025-48075
  • GHSA-hg3g-gphw-5hhm
  • GO-2025-3706

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.