CVE-2026-25899: Fiber is Vulnerable to Denial of Service via Flash Cookie Unbounded Allocation
Vulnerability summary
CVE-2026-25899 is a high (CVSS 7.5) vulnerability in gofiber fiber. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 52.7% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 24-02-2026PublishedVulnerability first disclosed.
- 24-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.70%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
Increase +0.31 pp
From 0.40% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundFiber
Maturity: poc
Weaknesses
CWE · root cause- CWE-789Memory Allocation with Excessive Size ValueThe product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Github.com/gofiber/fiber1 product
- v3< 3.1.0
Gofiber1 product
- fiber≥ 3.0.0, < 3.1.0
2 vendors · 2 products
References
5 links- github.com/gofiber/fiber/security/advisories/GHSA-2mr3-m5q5-wgp6X Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/gofiber/fiberPACKAGE