Fiber panics when fiber.Ctx.BodyParser parses invalid range index
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-129 and the CVSS impact.
Summary
Fiber is an Express-inspired web framework written in Go. Starting in version 2.52.6 and prior to version 2.52.7, `fiber.Ctx.BodyParser` can map flat data to nested slices using `key[idx]value` syntax, but when idx is negative, it causes a panic instead of returning an error stating it cannot process the data. Since this data is user-provided, this could lead to denial of service for anyone relying on this `fiber.Ctx.BodyParser` functionality. Version 2.52.7 fixes the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gofiber | fiber | 2.52.6 to before 2.52.7 | 2.52.7 | Patch available | CNA |
| — | github.com/gofiber/fiber/v2 (Go) | 2.52.6 to before 2.52.7 | 2.52.7 | Patch available | GHSA-hg3g-gphw-5hhm |
- fiber Vendorgofiber Affected 2.52.6 to before 2.52.7 Fixed in 2.52.7 Patch available CNA
- github.com/gofiber/fiber/v2 (Go) Vendor— Affected 2.52.6 to before 2.52.7 Fixed in 2.52.7 Patch available GHSA-hg3g-gphw-5hhm
Remediation
- Fix · CNA fiber (gofiber) Fixed in 2.52.7
- Fix · GHSA-hg3g-gphw-5hhm github.com/gofiber/fiber/v2 (Go) Fixed in 2.52.7 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-48075
- 2026-10-03 Alias added: GHSA-hg3g-gphw-5hhm
References
More gofiber Fiber vulnerabilities
- TI-2025-34555 Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder CVSS 4.0HIGH 8.7
- TI-2024-16578 Fiber has Insecure CORS Configuration, Allowing Wildcard Origin with Credentials CVSS 3.1CRITICAL 9.8
- TI-2026-23477 github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters CVSS 3.1MEDIUM 6.5
- TI-2026-20922 Fiber has a Denial of Service Vulnerability via Route Parameter Overflow CVSS 4.0MEDIUM 5.5
- TI-2026-30834 Fiber: XSS in AutoFormat Content Negotiation CVSS 4.0MEDIUM 5.3
- TI-2026-38670 Fiber: HSTS header never set in helmet middleware due to incorrect protocol check CVSS 3.1MEDIUM 4.8
Sources
- CVE-2025-48075 · CVE Program
- CVE-2025-48075 · NVD
- FIRST EPSS
- GHSA-hg3g-gphw-5hhm · GitHub Advisory Database · CC BY 4.0
- CVE-2025-48075 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences