# CVE-2026-25899: Fiber is Vulnerable to Denial of Service via Flash Cookie Unbounded Allocation

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-24T20:57:25.000Z
- Modified: 2026-06-17T10:25:24.327Z
- Also known as: GHSA-2mr3-m5q5-wgp6, GO-2026-4534
- Weaknesses: CWE-770, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gofiber fiber: >= 3.0.0, < 3.1.0; from 3.0.0 before 3.1.0
- github.com/gofiber/fiber/v3 (Go): before 3.1.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gofiber/fiber/security/advisories/GHSA-2mr3-m5q5-wgp6> (exploit, advisory, vendor-advisory, web)
- <https://github.com/gofiber/fiber/releases/tag/v3.1.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25899> (advisory)
- <https://github.com/gofiber/fiber> (package)
- <https://pkg.go.dev/vuln/GO-2026-4534> (web)

## Sources

- CVE List: [CVE-2026-25899](https://www.cve.org/CVERecord?id=CVE-2026-25899), CVE Terms of Use, modified 2026-02-24
- GitHub Advisory Database: [GHSA-2mr3-m5q5-wgp6](https://github.com/advisories/GHSA-2mr3-m5q5-wgp6), CC-BY-4.0, modified 2026-02-27
- Go Vulnerability Database: [GO-2026-4534](https://pkg.go.dev/vuln/GO-2026-4534), CC-BY-4.0, modified 2026-02-26
- NVD: [CVE-2026-25899](https://nvd.nist.gov/vuln/detail/CVE-2026-25899), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25899 · Whole record: https://cve.day/CVE-2026-25899.json · Rebuilt by cve.day 2026-11-25T22:59:14.786Z
