Live threats

All CVEs / Gofiber

CVE-2025-66565Gofiber Utils

Critical 9.3 No auth needed

Priority
71
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Dec 9, 2025
Updated
Oct 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-252, CWE-331, CWE-338
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Fiber Utils is a collection of common functions created for Fiber. In versions 2.0.0-rc.3 and below, when the system's cryptographic random number generator (crypto/rand) fails, both functions silently fall back to returning predictable UUID values, including the zero UUID "00000000-0000-0000-0000-000000000000". The vulnerability occurs through two related but distinct failure paths, both ultimately caused by crypto/rand.Read() failures, compromising the security of all Fiber applications using these functions for security-critical operations. This issue is fixed in version 2.0.0-rc.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for Utils.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gofiber/utils < 1.2.0 1.2.0 go get github.com/gofiber/utils@v1.2.0
Go github.com/gofiber/utils < 1.2.0 1.2.0 go get github.com/gofiber/utils@v1.2.0
Go github.com/gofiber/utils/v2 < 2.0.0-rc.4 2.0.0-rc.4 go get github.com/gofiber/utils/v2@v2.0.0-rc.4
Go github.com/gofiber/utils/v2 < 2.0.0-rc.4 2.0.0-rc.4 go get github.com/gofiber/utils/v2@v2.0.0-rc.4

Per OSV / GitHub Advisories (GHSA-m98w-cqp3-qcqr, GO-2025-4208). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gofiberutils≤ 1.2.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0
gofiberutils2.0.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.