High severityNVD Advisory· Published Feb 24, 2026· Updated Feb 24, 2026
Fiber is Vulnerable to Denial of Service via Flash Cookie Unbounded Allocation
CVE-2026-25899
Description
Fiber is an Express inspired web framework written in Go. In versions on the v3 branch prior to 3.1.0, the use of the fiber_flash cookie can force an unbounded allocation on any server. A crafted 10-character cookie value triggers an attempt to allocate up to 85GB of memory via unvalidated msgpack deserialization. No authentication is required. Every GoFiber v3 endpoint is affected regardless of whether the application uses flash messages. Version 3.1.0 fixes the issue.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/gofiber/fiber/v3Go | < 3.1.0 | 3.1.0 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-2mr3-m5q5-wgp6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-25899ghsaADVISORY
- github.com/gofiber/fiber/releases/tag/v3.1.0ghsax_refsource_MISCWEB
- github.com/gofiber/fiber/security/advisories/GHSA-2mr3-m5q5-wgp6ghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2026-4534ghsaWEB
News mentions
0No linked articles in our index yet.