Vulnerabilities/

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

Severity:
Medium

Description

The v3(), v5(), and v6() API methods (not uuid release versions) accept external output buffers but do not reject out-of-range writes (small buf or large offset).
By contrast, v4(), v1(), and v7() API methods explicitly throw RangeError on invalid bounds.

Recommendation

Update the uuid package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
uuid
Anything's wrong? Let us know Last updated on May 21, 2026