Skip to main content
← All vulnerabilities
CVE-2025-48075GHSA-HG3G-GPHW-5HHMGO-2025-3706

Fiber panics when fiber.Ctx.BodyParser parses invalid range index

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.52.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • gofiber fiber

    From 2.52.6 · fixed in 2.52.7

  • github.com/gofiber/fiber/v2Go

    From 2.52.6 · fixed in 2.52.7

  • github.com/gofiber/fiberGo

    All versions

References 2

GitHub · gofiber/fiber