Security mailing lists by PureSourceCode

CVE-2025-48075

HIGH 7.7CVSS 4.0

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

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.

Published
22 May 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-129
Also known as
GHSA-hg3g-gphw-5hhmGO-2025-3706
Sources
NVDJSONOSV GHSA-hg3g-gphw-5hhmJSONOSV GO-2025-3706JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 7.7 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/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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/E:P
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gofiber fiber
cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*
>= 2.0.0, < 2.52.7 2.52.7
OSV Go github.com/gofiber/fiber/v2 >= 2.52.6, < 2.52.7 2.52.7
OSV Go github.com/gofiber/fiber all versions

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 22 May 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 May 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 May 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.