CVE-2025-66565
CRITICAL 9.3CVSS 4.0Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values
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.
- Published
- 9 Dec 2025
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-252CWE-331CWE-338
- Also known as
- GHSA-m98w-cqp3-qcqrGO-2025-4208
- Sources
- NVDJSONOSV GHSA-m98w-cqp3-qcqrJSONOSV GO-2025-4208JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | 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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:*:*:*:*:*:go:*:* |
<= 1.2.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta1:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta10:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta11:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta12:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta13:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta14:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta2:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta3:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta4:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta5:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta6:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta7:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta8:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:beta9:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:rc1:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:rc2:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:rc3:*:*:*:go:*:* |
= 2.0.0 | |
| NVD | gofiber | utilscpe:2.3:a:gofiber:utils:2.0.0:rc4:*:*:*:go:*:* |
= 2.0.0 | |
| OSV | Go | github.com/gofiber/utils/v2 | < 2.0.0-rc.4 | 2.0.0-rc.4 |
| OSV | Go | github.com/gofiber/utils | < 1.2.0 | 1.2.0 |
References
- https://github.com/gofiber/utils/commit/6c6cf047032b9c8dff43d29f990b4b10e9b02d47 · Patch, WEB, FIX
- https://github.com/gofiber/utils/security/advisories/GHSA-m98w-cqp3-qcqr · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-66565 · ADVISORY
- https://github.com/gofiber/utils · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 9 Dec 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Dec 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Dec 2025)