CVE-2025-48075CWE-129

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

High · published May 22, 2025

CVSS v4.0
7.7
EPSS
1%
Percentile
43.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.7 · HIGH
Vector
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
EPSS
0.00528 · 43.8th percentile
Weakness
CWE-129 · Improper Validation of Array Index
Published
2025-05-22T17:25Z
EPSS history
Timeline
  • 22 MAY 17:25Z
    Fiber panics when fiber.Ctx.BodyParser parses invalid range index
    cvelistv5