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

- Severity: High 8.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-22T20:53:24.000Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-w5hq-g745-h8pq
- Related: CVE-2026-41988
- Weaknesses: CWE-787, CWE-823, CWE-1285
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- uuidjs uuid: < 14.0.0; before 11.1.1; 12.0.0; 13.0.0
- uuid (npm): before 11.1.1; from 12.0.0 before 12.0.1; from 13.0.0 before 13.0.1

## Every score

- GitHub_M: CVSS:4.0 8.1 High `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`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/uuidjs/uuid/security/advisories/GHSA-w5hq-g745-h8pq> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41907> (advisory)
- <https://github.com/uuidjs/uuid/commit/32389c887c9e75f90442ee4cc95bbab0c4e8346e> (web)
- <https://github.com/uuidjs/uuid/commit/3d2c5b0342f0fcb52a5ac681c3d47c13e7444b34> (web)
- <https://github.com/uuidjs/uuid/commit/3d61d6ac1f782cf6b1dd8661c60f11722cd49a0d> (web)
- <https://github.com/uuidjs/uuid/commit/9d27ddf7046ce496ef39569ff84d948eeff9cb2a> (web)
- <https://github.com/uuidjs/uuid> (package)
- <https://github.com/uuidjs/uuid/releases/tag/v11.1.1> (web)
- <https://github.com/uuidjs/uuid/releases/tag/v12.0.1> (web)
- <https://github.com/uuidjs/uuid/releases/tag/v13.0.1> (web)
- <https://github.com/uuidjs/uuid/releases/tag/v14.0.0> (web)

## Sources

- CVE List: [CVE-2026-41907](https://www.cve.org/CVERecord?id=CVE-2026-41907), CVE Terms of Use, modified 2026-04-27
- GitHub Advisory Database: [GHSA-w5hq-g745-h8pq](https://github.com/advisories/GHSA-w5hq-g745-h8pq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-41907](https://nvd.nist.gov/vuln/detail/CVE-2026-41907), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41907 · Whole record: https://cve.day/CVE-2026-41907.json · Rebuilt by cve.day 2026-11-25T22:59:19.577Z
