# CVE-2025-54801: Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-05T15:22:21.000Z
- Modified: 2026-09-10T03:50:27.479Z
- Also known as: GHSA-qx2q-88mx-vhg7, GO-2025-3845
- Related: CGA-vp7x-3q95-x4wq
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gofiber fiber: < 2.52.9; before 2.52.9
- github.com/gofiber/fiber/v2 (Go): before 2.52.9

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gofiber/fiber/security/advisories/GHSA-qx2q-88mx-vhg7> (exploit, advisory, vendor-advisory, web)
- <https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54801> (advisory)
- <https://github.com/gofiber/fiber> (package)

## Sources

- CVE List: [CVE-2025-54801](https://www.cve.org/CVERecord?id=CVE-2025-54801), CVE Terms of Use, modified 2025-08-07
- GitHub Advisory Database: [GHSA-qx2q-88mx-vhg7](https://github.com/advisories/GHSA-qx2q-88mx-vhg7), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3845](https://pkg.go.dev/vuln/GO-2025-3845), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-54801](https://nvd.nist.gov/vuln/detail/CVE-2025-54801), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54801 · Whole record: https://cve.day/CVE-2025-54801.json · Rebuilt by cve.day 2026-11-25T22:59:02.074Z
