CVE-2026-41907 PUBLISHED

uuid: Missing buffer bounds check in `v3`/`v5`/`v6` when `buf` is provided

Assigner: GitHub_M
Reserved: 22.04.2026 Published: 24.04.2026 Updated: 24.04.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
CVSS Score: 8.1

Product Status

Vendor uuidjs
Product uuid
Versions
  • Version < 14.0.0 is affected

References

Problem Types

  • CWE-823: Use of Out-of-range Pointer Offset CWE
  • CWE-787: Out-of-bounds Write CWE