CVE-2025-66565 Details
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.
A critical vulnerability exists in the Fiber Utils package, specifically in the UUIDv4() and UUID() functions, in versions 2.0.0-rc.3 and prior. When the system's cryptographic random number generator fails, these functions silently revert to returning predictable UUIDs, including the zero UUID '00000000-0000-0000-0000-000000000000'. This issue arises from failures in crypto/rand.Read(), compromising the security of Fiber applications that rely on these functions for critical operations. The vulnerability is present in all Go versions prior to 1.24, as Go 1.24 and later handle crypto/rand failures by panicking, thereby preventing the fallback to predictable UUIDs.
Users can replace calls to utils.UUIDv4() with uuid.New() to avoid the vulnerability. The Fiber Utils package has been updated to version 2.0.0-rc.4, which addresses this issue by making the UUID() and UUIDv4() functions fail explicitly when cryptographic randomness is unavailable.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-252 | Unchecked Return Value | [email protected] |
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | [email protected] |
| CWE-252 | Unchecked Return Value | [email protected] |
| CWE-331 | Insufficient Entropy | [email protected] |
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gofiber utils | <= 1.2.0 2.0.0 beta1 2.0.0 beta10 2.0.0 beta11 2.0.0 beta12 2.0.0 beta13 2.0.0 beta14 2.0.0 beta2 2.0.0 beta3 2.0.0 beta4 2.0.0 beta5 2.0.0 beta6 2.0.0 beta7 2.0.0 beta8 2.0.0 beta9 2.0.0 rc1 2.0.0 rc2 2.0.0 rc3 2.0.0 rc4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 11, 2025 | Initial Analysis | [email protected] |
| Dec 9, 2025 | New CVE Received | [email protected] |
| Dec 9, 2025 | CVE Modified | CISA-ADP |