CVE-2025-54801

Public Exploit
Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder

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.

Category

8.7
CVSS
Severity: High
CVSS 4.0 •
EPSS 0.04%
Affected: gofiber fiber
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-54801?
CVE-2025-54801 has been scored as a high severity vulnerability.
How to fix CVE-2025-54801?
To fix CVE-2025-54801, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-54801 being actively exploited in the wild?
It is possible that CVE-2025-54801 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-54801?
CVE-2025-54801 affects gofiber fiber.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.