Fiber is Vulnerable to Denial of Service via Flash Cookie Unbounded Allocation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-789.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gofiber | fiber | 3.0.0 to before 3.1.0 | 3.1.0 | Patch available | CNA |
| — | github.com/gofiber/fiber/v3 (Go) | before 3.1.0 | 3.1.0 | Patch available | GHSA-2mr3-m5q5-wgp6 |
- fiber Vendorgofiber Affected 3.0.0 to before 3.1.0 Fixed in 3.1.0 Patch available CNA
- github.com/gofiber/fiber/v3 (Go) Vendor— Affected before 3.1.0 Fixed in 3.1.0 Patch available GHSA-2mr3-m5q5-wgp6
Remediation
- Fix · CNA fiber (gofiber) Fixed in 3.1.0
- Fix · GHSA-2mr3-m5q5-wgp6 github.com/gofiber/fiber/v3 (Go) Fixed in 3.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-25899
- 2026-10-03 Alias added: GHSA-2mr3-m5q5-wgp6
- 2026-10-20 EPSS moved to the 50th–90th percentile
- 2026-10-25 EPSS moved to the below the 50th percentile
- 2026-10-25 Priority changed: MEDIUM → LOW
References
More gofiber Fiber vulnerabilities
- TI-2025-34555 Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder CVSS 4.0HIGH 8.7
- TI-2024-16578 Fiber has Insecure CORS Configuration, Allowing Wildcard Origin with Credentials CVSS 3.1CRITICAL 9.8
- TI-2025-30446 Fiber panics when fiber.Ctx.BodyParser parses invalid range index CVSS 4.0HIGH 7.7
- TI-2026-23477 github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters CVSS 3.1MEDIUM 6.5
- TI-2026-20922 Fiber has a Denial of Service Vulnerability via Route Parameter Overflow CVSS 4.0MEDIUM 5.5
- TI-2026-30834 Fiber: XSS in AutoFormat Content Negotiation CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-25899 · CVE Program
- CVE-2026-25899 · NVD
- FIRST EPSS
- GHSA-2mr3-m5q5-wgp6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences