CVE-2025-48075

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductFiber
PublishedMay 22, 2025
First seenMay 22, 2025
Weakness typeCWE-129CWE-129

How to fix

Update
  • gofiber fiber2.52.7 or later
  • github.com/gofiber/fiber/v22.52.7 or later

Affected products

ProductAffected versionsFixed in
gofiber fiber2.0.0 ≤ v < 2.52.72.52.7
github.com/gofiber/fiber/v2Go2.52.6 ≤ v < 2.52.72.52.7
github.com/gofiber/fiberGoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.