CVE-2026-25899 PUBLISHED

Fiber is Vulnerable to Denial of Service via Flash Cookie Unbounded Allocation

Assigner: GitHub_M
Reserved: 06.02.2026 Published: 24.02.2026 Updated: 24.02.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor gofiber
Product fiber
Versions
  • Version >= 3.0.0, < 3.1.0 is affected

References

Problem Types

  • CWE-789: Memory Allocation with Excessive Size Value CWE