CVE-2025-48075 json
Fiber panics when fiber.Ctx.BodyParser parses invalid range index
published 2025-05-22 17 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-16352 , GHSA-hg3g-gphw-5hhm , GO-2025-3706
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/gofiber/fiber/v2 2.52.7
- gofiber fiber 2.52.7
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250527T204717-1.1
opensuse advisories openSUSE-SU-2025:15179-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-48075 updated cvss 7.5
github.com/gofiber/fiber/v2: Panic on Negative Index in Fiber BodyParser
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gofiber/fiber/v2 | >=2.52.6, <2.52.7 |
2.52.7 |
| go | github.com/gofiber/fiber | all versions |
no fix listed |
Affected products
- gofiber fiber
Classification
- Weakness
-
- CWE-129 Improper Validation of Array Index
References
-
github.com
/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d
web, patch
-
github.com
/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm
exploit, web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-48075
advisory
-
github.com
/gofiber/fiber
package
-
pkg.go.dev
/vuln/GO-2025-3706
web
Sources
- CVE List CVE-2025-48075
- GitHub Advisory GHSA-hg3g-gphw-5hhm
- NVD CVE-2025-48075
- OSV GO-2025-3706
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.