CVE-2025-54801
published high CVSS 4.0 · 8.7Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gofiber | — | fiber< 2.52.9 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250811T192933-1.1 | OPENSUSE-SU-2025:15434-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250811T192933-1.1 | OPENSUSE-SU-2025:15434-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250811T192933-1.1 | OPENSUSE-SU-2025:15434-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250811T192933-1.1 | OPENSUSE-SU-2025:15434-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gofiber | fiber | < 2.52.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
2Provider assertions
2GitHub_M · cna
Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 882a34c39157b788a79c896776f0111785578e6395f71fa251112ff8de970263
- Ingested
- 23 Sep 2026, 08:53:16 UTC
- Source record
- Official CVE record