Out-of-Bounds Slice Allocation in Fiber Framework by Go
CVE-2025-54801
What is CVE-2025-54801?
The Fiber web framework, inspired by Express and written in Go, is susceptible to an out-of-bounds slice allocation issue. This vulnerability occurs in versions 2.52.8 and earlier when parsing form data using Fiber's Ctx.BodyParser. If a large numeric key, which designates a slice index, is provided (e.g., test.18446744073704), the underlying schema decoder fails to validate the index size prior to attempting to allocate a slice. This can cause the application to crash due to excessive memory allocation requests or integer overflow, leading to a panic. The issue is resolved in version 2.52.9.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
fiber < 2.52.9
References
CVSS V4
Timeline
Vulnerability published
