VDB

CVE-2025-48075

CVE-2025-48075 PUBLISHED CVSS 7.7 HIGH

Fiber panics when fiber.Ctx.BodyParser parses invalid range index

Reported by github_m · Published May 22, 2025

github.com/gofiber/fiber/v2 is fixed in 2.52.7 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/gofiber/fiber/v2Go Modules2.52.7
gatusWolfi5.17.0-r3
fibergofiber2.52.7

Risk scores

CVSS 4.0
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

Affected products

VendorProductVersions
gofiberfiber>= 2.52.6, < 2.52.7
github.comgofiber/fiber/v22.52.6
wolfigatus0
gofiberfiber2.52.6
chainguardgatus0

Timeline

  • May 22, 2025 CVE Published
  • May 22, 2025 CVE Updated
  • May 22, 2025 PoC Published
  • May 23, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 6, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Dec 12, 2025 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-48075
vulnetix vdb fixes CVE-2025-48075

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-48075/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›