We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-48075

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



Description

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.

Reserved 2025-05-15 | Published 2025-05-22 | Updated 2025-05-22 | Assigner GitHub_M


HIGH: 7.7CVSS: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

Problem types

CWE-129: Improper Validation of Array Index

Product status

>= 2.52.6, < 2.52.7
affected

References

github.com/.../fiber/security/advisories/GHSA-hg3g-gphw-5hhm

github.com/...ommit/e115c08b8f059a4a031b492aa9eef0712411853d

cve.org (CVE-2025-48075)

nvd.nist.gov (CVE-2025-48075)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-48075

Support options

Helpdesk Chat, Email, Knowledgebase