CVE-2025-54801 in Gofiber Fiber
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 sch...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gofiber | Fiber | < 2.52.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-54801 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-275492-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-08-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-789: CWE-789
Analysis AI-written, not human-reviewed
A critical vulnerability in Fiber versions 2.52.8 and below allows attackers to cause a denial of service (DoS) by sending a form data request with a large numeric key that represents a slice index, leading to an out-of-bounds slice allocation.
The vulnerability is triggered when the Ctx.BodyParser function in Fiber attempts to parse form data containing a large numeric key that represents a slice index. This causes the underlying schema decoder to attempt to allocate a slice of an excessively large length, resulting in a crash of the application.
Questions
What is CVE-2025-54801?
A critical vulnerability in Fiber versions 2.52.8 and below allows attackers to cause a denial of service (DoS) by sending a form data request with a large numeric key that represents a slice index, leading to an out-of-bounds slice allocation.
What is the CVSS score for CVE-2025-54801?
CVE-2025-54801 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.7%.
Is CVE-2025-54801 actively exploited?
No confirmed active exploitation of CVE-2025-54801 as of 2026-09-25.
How do I remediate CVE-2025-54801?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2025-54801?
CVE-2025-54801 affects Gofiber Fiber.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gofiber","product":"Fiber","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.