CVE-2025-66565

Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values

State
Published
Severity
9.3 Critical
Published
Dec 9, 2025
Updated
Dec 9, 2025
Reserved
Dec 4, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-252 Unchecked Return Value
  • CWE-331 Insufficient Entropy
  • CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Affected Products

ProductVersions
utilsgofiber
  • github.com/gofiber/utils <= 1.2.0Affected
  • github.com/gofiber/utils/v2 < 2.0.0-rc.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.