Skip to content
OpenAdvisories
High · 7.5 CVE-2026-25899 EUVD-2026-8566GHSA-2mr3-m5q5-wgp6GO-2026-4534

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

Published Feb 24, 2026 · Updated Feb 24, 2026 · 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.

Affected products

VendorProductAffectedFixed
gofiber fiber >= 3.0.0, < 3.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260226T182644-150000.1.149.1 SUSE-SU-2026:0757-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gofiber/fiber/v3 < 3.1.0 3.1.0 GHSA-2mr3-m5q5-wgp6

Advisories 2

References