CVE-2025-54801

CVE-2025-54801 is a high-severity vulnerability in Gofiber Fiber with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-789.

Key facts

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.

Frequently asked questions

What is CVE-2025-54801?
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.
How severe is CVE-2025-54801?
CVE-2025-54801 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
Is CVE-2025-54801 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-54801?
CVE-2025-54801 affects Gofiber Fiber. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-54801?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2025-54801 have an EU (EUVD) identifier?
Yes. CVE-2025-54801 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-23668.
When was CVE-2025-54801 published?
CVE-2025-54801 was published on 2025-08-06 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Gofiber Fiber

All CVEs affecting Gofiber Fiber →

Other CWE-789 vulnerabilities

Browse all CWE-789 vulnerabilities →