CVE-2026-41907: uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided
(updated )
v3, v5, and v6 accept external output buffers but do not reject out-of-range writes (small buf or large offset).
By contrast, v4, v1, and v7 explicitly throw RangeError on invalid bounds.
This inconsistency allows silent partial writes into caller-provided buffers.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-41907 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →