8.7

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

Analyzed
AliasesCGA-35hf-xgpj-cr4jCGA-j3g8-m7f7-mfvjCGA-r29h-f95q-gj68
Published 05-08-2025Last modified 07-08-2025

Vulnerability summary

CVE-2025-54801 is a high (CVSS 8.7) vulnerability in gofiber fiber. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 29.9% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 3

Timeline

  1. 05-08-2025
    PublishedVulnerability first disclosed.
  2. 07-08-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.37% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard2 products
  • gatus< 5.21.0-r1
  • gatus-compat< 5.21.0-r1
Wolfi2 products
  • gatus< 5.21.0-r1
  • gatus-compat< 5.21.0-r1
Github.com/gofiber/fiber1 product
  • v2< 2.52.9
Gofiber1 product

4 vendors · 6 products

References

5 links