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

Advisory record · `GHSA-w5hq-g745-h8pq`

- **Identifiers:** `GHSA-w5hq-g745-h8pq` · `CVE-2026-41907` · `CVE-2026-41988`
- **State:** Confirmed
- **Severity:** CVSS 8.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-670](https://cwe.mitre.org/data/definitions/670.html) · [CWE-787](https://cwe.mitre.org/data/definitions/787.html) · [CWE-823](https://cwe.mitre.org/data/definitions/823.html) · [CWE-1285](https://cwe.mitre.org/data/definitions/1285.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md) · [CWE-670](https://agentprime.io/advisories/tag/cwe-670.md) · [CWE-823](https://agentprime.io/advisories/tag/cwe-823.md) · [CWE-1285](https://agentprime.io/advisories/tag/cwe-1285.md)
- **Published:** 22 Apr 2026
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 22 Apr 2026, 20:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `uuid` (npm): affected `<11.1.1 || >=12.0.0, <12.0.1 || >=13.0.0, <13.0.1`; fixed in `11.1.1`, `12.0.1`, `13.0.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.1 High, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0035, the 28th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 22 Apr 2026. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-w5hq-g745-h8pq](https://github.com/advisories/GHSA-w5hq-g745-h8pq)
- [OSV: GHSA-w5hq-g745-h8pq](https://osv.dev/vulnerability/GHSA-w5hq-g745-h8pq)
- <https://github.com/uuidjs/uuid/security/advisories/GHSA-w5hq-g745-h8pq>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41907>
- <https://github.com/uuidjs/uuid/commit/32389c887c9e75f90442ee4cc95bbab0c4e8346e>
- <https://github.com/uuidjs/uuid/commit/3d2c5b0342f0fcb52a5ac681c3d47c13e7444b34>
- <https://github.com/uuidjs/uuid/commit/3d61d6ac1f782cf6b1dd8661c60f11722cd49a0d>
- <https://github.com/uuidjs/uuid/commit/9d27ddf7046ce496ef39569ff84d948eeff9cb2a>
- <https://github.com/uuidjs/uuid>
- <https://github.com/uuidjs/uuid/releases/tag/v11.1.1>
- <https://github.com/uuidjs/uuid/releases/tag/v12.0.1>
- <https://github.com/uuidjs/uuid/releases/tag/v13.0.1>
- <https://github.com/uuidjs/uuid/releases/tag/v14.0.0>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-w5hq-g745-h8pq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-w5hq-g745-h8pq/>. Everything for agents: <https://agentprime.io/llms.txt>.
