{"id":"GO-2025-3706","revision":null,"records":[{"revision":"7a635d9a6cea498491784ec37754dabf","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-48075","aliases":[],"title":"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.","state":0,"publishedAt":"2025-05-22T17:25:18.447+00:00","modifiedAt":"2025-05-22T17:59:02.707+00:00","affected":[{"ecosystem":"Vendor product","name":"fiber","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gofiber\",\n                    \"product\": \"fiber\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 2.52.6, < 2.52.7\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":7.7,"severity":"HIGH"}],"references":["https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm","https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-48075","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-48075","identifiers":["CVE-2025-48075"]},"retained":false,"historicalAffected":[]},{"revision":"f4285445e4f44fbd891bfea3e5cdc8f8","observedAt":"2026-11-15T04:33:23.39+00:00","statement":{"source":"euvd","id":"EUVD-2025-16352","aliases":["CVE-2025-48075","GHSA-hg3g-gphw-5hhm"],"title":"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 …","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"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","score":7.7,"severity":null}],"references":["https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm","https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-16352","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 22, 2025, 5:25:18 PM","dateUpdated":"May 22, 2025, 5:59:02 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2025:15179-1","title":"govulncheck-vulndb-0.0.20250527T204717-1.1 on GA media","vulnerabilityIds":["CVE-2025-4123","CVE-2025-48075","CVE-2025-48371","CVE-2025-48374"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-16352","identifiers":["EUVD-2025-16352","CVE-2025-48075","GHSA-hg3g-gphw-5hhm"]},"retained":false,"historicalAffected":[]},{"revision":"1f3d744cddf0402087c0dbe8f64319b2","observedAt":"2026-10-25T02:25:01.737+00:00","statement":{"source":"nvd","id":"CVE-2025-48075","aliases":[],"title":"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 …","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.","state":0,"publishedAt":"2025-05-22T18:15:43.31+00:00","modifiedAt":"2026-06-17T09:29:06.793+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"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","score":7.7,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d","https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-48075","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-129"],"productCriteria":["cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2025-05-22T18:15:43.310","lastModified":"2026-06-17T09:29:06.793"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-48075","identifiers":["CVE-2025-48075"]},"retained":false,"historicalAffected":[]},{"revision":"c6c8a52387b747289552575c17dd6e8f","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-hg3g-gphw-5hhm","aliases":["CVE-2025-48075","GO-2025-3706"],"title":"Fiber panics when fiber.Ctx.BodyParser parses invalid range index","description":"### Summary\nWhen using the `fiber.Ctx.BodyParser` to parse into a struct with range values, a panic occurs when trying to parse a negative range index\n\n### Details\n`fiber.Ctx.BodyParser` can map flat data to nested slices using `key[idx]value` syntax, however when idx is negative, it causes a panic instead of returning an error stating it cannot process the data. \n\nSince this data is user-provided, this could lead to denial of service for anyone relying on this `fiber.Ctx.BodyParser`  functionality  \n\n### Reproducing\nTake a simple GoFiberV2 server which returns a JSON encoded version of the FormData\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\n\t\"github.com/gofiber/fiber/v2\"\n)\n\ntype RequestBody struct {\n\tNestedContent []*struct {\n\t\tValue string `form:\"value\"`\n\t} `form:\"nested-content\"`\n}\n\nfunc main() {\n\tapp := fiber.New()\n\n\tapp.Post(\"/\", func(c *fiber.Ctx) error {\n\t\tformData := RequestBody{}\n\t\tif err := c.BodyParser(&formData); err != nil {\n\t\t\tfmt.Println(err)\n\t\t\treturn c.SendStatus(http.StatusUnprocessableEntity)\n\t\t}\n                c.Set(\"Content-Type\", \"application/json\")\n                s, _ := json.Marshal(formData)\n                return c.SendString(string(s))\n\t})\n\n\tfmt.Println(app.Listen(\":3000\"))\n}\n\n```\n\n**Correct Behaviour**\nSend a valid request such as:\n```bash\ncurl --location 'localhost:3000' \\\n--form 'nested-content[0].value=\"Foo\"' \\\n--form 'nested-content[1].value=\"Bar\"'\n```\nYou recieve valid JSON\n```json\n{\"NestedContent\":[{\"Value\":\"Foo\"},{\"Value\":\"Bar\"}]}\n```\n\n**Crashing behaviour**\nSend an invalid request such as:\n```bash\ncurl --location 'localhost:3000' \\\n--form 'nested-content[-1].value=\"Foo\"'\n```\nThe server panics and crashes\n```\npanic: reflect: slice index out of range\n\ngoroutine 8 [running]:\nreflect.Value.Index({0x738000?, 0xc000010858?, 0x0?}, 0x738000?)\n        /usr/lib/go-1.24/src/reflect/value.go:1418 +0x167\ngithub.com/gofiber/fiber/v2/internal/schema.(*Decoder).decode(0xc00002c570, {0x75d420?, 0xc000010858?, 0x7ff424822108?}, {0xc00001c498, 0x17}, {0xc00014e2d0, 0x2, 0x2}, {0xc00002c710, ...})\n[...]\n```\n\n### Impact\nAnyone using `fiber.Ctx.BodyParser` can/will have their servers crashed when an invalid payload is sent","state":0,"publishedAt":"2025-05-22T20:08:31+00:00","modifiedAt":"2026-09-10T03:50:57.5515129+00:00","affected":[{"ecosystem":"Go","name":"github.com/gofiber/fiber/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.52.6"},{"kind":"fixed","version":"2.52.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm","https://nvd.nist.gov/vuln/detail/CVE-2025-48075","https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d","https://github.com/gofiber/fiber","https://pkg.go.dev/vuln/GO-2025-3706"],"sourceUrl":"https://github.com/advisories/GHSA-hg3g-gphw-5hhm","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hg3g-gphw-5hhm","identifiers":["GHSA-hg3g-gphw-5hhm","CVE-2025-48075","GO-2025-3706"]},"retained":false,"historicalAffected":[]},{"revision":"ec202637291b4153b1cce32c24d9e742","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2025-3706","aliases":["CVE-2025-48075","GHSA-hg3g-gphw-5hhm"],"title":"Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber","description":"Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber","state":0,"publishedAt":"2025-05-27T20:47:04+00:00","modifiedAt":"2026-02-04T02:29:43.147229+00:00","affected":[{"ecosystem":"Go","name":"github.com/gofiber/fiber","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/gofiber/fiber/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.52.6"},{"kind":"fixed","version":"2.52.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm","https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d"],"sourceUrl":"https://osv.dev/vulnerability/GO-2025-3706","license":"OSV · upstream source license applies","key":"osv:GO-2025-3706","identifiers":["GO-2025-3706","CVE-2025-48075","GHSA-hg3g-gphw-5hhm"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T22:28:24.4991351+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T22:28:24.4991351+00:00","lastSuccessAt":"2026-11-16T22:28:24.7043575+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.7043586+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-b7ae3bdb0699f2500ff81a2529250ecaa285d9a3824324996c109bf112b16dad","complete":true,"records":426173,"lastAttemptAt":"2026-11-16T22:25:58.3805736+00:00","lastSuccessAt":"2026-11-16T21:26:21.4103203+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:25:58.3805736+00:00","snapshotPublishedAt":"2026-11-16T21:21:33+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a154cbc1da6344eebf61cc2b79e84032","complete":true,"records":13831,"lastAttemptAt":"2026-11-16T22:29:29.8673047+00:00","lastSuccessAt":"2026-11-16T22:29:29.864+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:29:29.864+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13885,"expectedIdentifiers":13885,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T22:28:24.4991351+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T22:28:24.4991351+00:00","lastSuccessAt":"2026-11-16T22:28:24.7050614+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.7050618+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e852cf3f102d4dfc8420eba9ed8027fd","complete":false,"records":13844,"lastAttemptAt":"2026-11-16T22:28:51.1313357+00:00","lastSuccessAt":"2026-11-16T22:28:51.121+00:00","error":"10 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T22:28:51.121+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13574,"expectedIdentifiers":13885,"failedIdentifiers":10},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T22:28:24.3319179+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.3319179+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T22:25:58.4256746+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:25:58.4256746+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T22:28:24.4567855+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.4567855+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-879bf87060e1e5a31d5f9d7958b545032385ae9cf57c2a5b470e1d57f9693bf8","complete":true,"records":232556,"lastAttemptAt":"2026-11-16T22:28:24.1750579+00:00","lastSuccessAt":"2026-11-16T22:28:22.9672905+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.1750579+00:00","snapshotPublishedAt":"2026-11-16T22:18:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}