CVE-2026-25899 Fiber is Vulnerable to Denial of Service via Flash Cookie Unbounded Allocation
HighCVSS 7.5
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| gofiber github.com/gofiber/fiber(Go) | < 3.1.0 | 3.1.0 |
| gofiber github.com/gofiber/fiber | = >= 3.0.0, < 3.1.0 | No fix listed |
| gofiber github.com/gofiber/fiber(Go) | <= 3.0.0 | No fix listed |
| gofiber github.com/gofiber/fiber | >= 3.0.0, < 3.1.0 | 3.1.0 |
References
- https://github.com/gofiber/fiber/security/advisories/GHSA-2mr3-m5q5-wgp6 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/gofiber/fiber/releases/tag/v3.1.0 release-notes
- pkg.go.dev
- github.com