Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gofiber/fiber/v2
  4. ›
  5. CVE-2025-48075

CVE-2025-48075: Fiber panics when fiber.Ctx.BodyParser parses invalid range index

May 22, 2025 (updated May 28, 2025)

When using the fiber.Ctx.BodyParser to parse into a struct with range values, a panic occurs when trying to parse a negative range index

References

  • github.com/advisories/GHSA-hg3g-gphw-5hhm
  • github.com/gofiber/fiber
  • github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d
  • github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm
  • nvd.nist.gov/vuln/detail/CVE-2025-48075
  • pkg.go.dev/vuln/GO-2025-3706

Code Behaviors & Features

Detect and mitigate CVE-2025-48075 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.52.6 before 2.52.7

Fixed versions

  • 2.52.7

Solution

Upgrade to version 2.52.7 or above.

Weakness

  • CWE-129: Improper Validation of Array Index

Source file

go/github.com/gofiber/fiber/v2/CVE-2025-48075.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:52 +0000.