CVE-2026-25899: gofiber fiber · Excessive Memory Allocation
Affects gofiber fiberSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 3.1.0 soon.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 24 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade fiber and github.com/gofiber/fiber to 3.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gofiberfiber | Affected
| Fixed in
|
Gogithub.com/gofiber/fiberpkg:golang/github.com/gofiber/fiberOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-25899, organizations should immediately upgrade all GoFiber v3 instances to version 3.1.0 or later, where the vulnerability is fixed. If immediate upgrade is not feasible, implement network-level protections such as Web Application Firewalls (WAFs) or intrusion prevention systems (IPS) to detect and block suspicious requests containing the fiber_flash cookie or unusually sized cookies. Limit the size of incoming cookies at the application or proxy level to prevent oversized allocations. Monitor application logs and server resource usage for unusual memory spikes or crashes indicative of exploitation attempts. Employ rate limiting to reduce the risk of repeated exploitation attempts from a single source. Conduct thorough testing after upgrades to ensure the fix is effective and does not disrupt legitimate traffic. Finally, maintain an inventory of all GoFiber deployments to ensure no vulnerable instances remain in production or staging environments.
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.