High severity · published Aug 5, 2025
CVE-2025-54801
Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
Fiber is an Express inspired web framework written in Go. In versions 2.52.8 and below, when using Fiber's Ctx.BodyParser to parse form data containing a large numeric key that represents a slice index (e.g., test.18446744073704), the application crashes due to an out-of-bounds slice allocation in the underlying schema decoder. The root cause is that the decoder attempts to allocate a slice of length idx + 1 without validating whether the index is within a safe or reasonable range. If the idx is excessively large, this leads to an integer overflow or memory exhaustion, causing a panic or crash. This is fixed in version 2.52.9.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 34% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FI
fiber · gofiber
< 2.52.9 · source: vendor, NVD
Affected product
FI
fiber
gofiber
More from fiber
9.8
CVE-2024-38513
Fiber is an Express-inspired web framework written in Go A vulnerability present in versions prior to 2.52.5 is a session middleware issue in GoFiber versions 2 and above
9.8
CVE-2024-25124
Fiber is a web framework written in go
9.4
CVE-2025-66630
Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure
8.8
CVE-2023-45141
Fiber is an express inspired web framework written in Go
8.8
CVE-2023-45128
Fiber is an express inspired web framework written in Go