CVE-2026-41907Published Apr 24, 2026 · Apr 24Updated Oct 28
uuid: Missing buffer bounds check in `v3`/`v5`/`v6` when `buf` is provided
uuidjs uuid
High8.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| uuid npm |
|
|
Original description
uuid is for the creation of RFC9562 (formerly RFC4122) UUIDs. Prior to 14.0.0, v3, v5, and v6 accept external output buffers but do not reject out-of-range writes (small buf or large offset). This allows silent partial writes into caller-provided buffers. This vulnerability is fixed in 14.0.0.