Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify target using uuid < 14.0.0
-
DeliverySupply crafted input to API
-
ExploitTrigger v3/v5/v6 with malicious offset
-
ExecutionWrite beyond buffer boundary
-
PersistCorrupt adjacent memory objects
-
ImpactLeak sensitive data or alter application state
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Use after free prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to invoke uuid library v3, v5, or v6 UUID generation methods (not the more commonly used v1 or v4 methods) with caller-provided output buffers and explicitly specified offset parameters-features typically used only in performance-critical code paths that reuse pre-allocated buffers rather than accepting default return values. The application must also fail to independently validate that buffer size minus offset is at least 16 bytes before passing to uuid functions. Remote network access (AV:N) assumes the application exposes an API or interface where attackers can influence buffer allocation patterns or offset calculations through input manipulation, which is not the default usage pattern. Exploitation is further limited by JavaScript's managed memory model-unlike C/C++ buffer overflows, arbitrary code execution is improbable, restricting impact primarily to data corruption and information disclosure within the same JavaScript heap. Applications using default uuid function invocation patterns (no custom buffers) or exclusively using v1/v4 methods are not vulnerable despite running affected library versions. |
| Impact | Real-world risk assessment presents conflicting signals requiring careful interpretation. CVSS 4.0 base score of 8.1 with vector AV:N/AC:L/PR:N/UI:N suggests remotely exploitable without authentication, indicating high theoretical severity. The confidentiality and integrity impacts are rated High (VC:H/VI:H), consistent with memory corruption vulnerabilities. However, the Exploit Maturity metric shows E:U (unproven), meaning no functional exploit has been publicly demonstrated. The attack complexity is Low (AC:L), yet successful exploitation requires the calling application to: (1) use v3/v5/v6 UUID functions rather than the more common v1/v4, (2) provide custom output buffers instead of accepting default return values, and (3) fail to validate buffer sizes independently. This significantly narrows the attack surface compared to what AV:N/PR:N suggests at first glance. The vulnerability is tagged for both Information Disclosure and Memory Corruption, but JavaScript's managed memory model limits exploitation compared to C/C++ buffer overflows-arbitrary code execution is unlikely, while data corruption and information leakage are plausible outcomes. No EPSS score provided, but the GitHub-reported nature and lack of KEV status suggest this is a supply chain hygiene issue rather than an actively targeted vulnerability. Priority should be medium for organizations using uuid library with custom buffer patterns, low for standard default-usage deployments. |
| Exploit ScenarioDerived | An attacker targets a web application API endpoint that generates namespace-based UUIDs (v5) from user-supplied input and uses a pre-allocated buffer pool for performance optimization. The attacker crafts malicious input that causes the application to request UUID generation with a buffer offset calculated from attacker-controlled data. Because the uuid library does not validate the offset parameter, the resulting UUID bytes are written beyond the buffer boundary into adjacent memory containing sensitive session tokens or cryptographic keys. The attacker then triggers a subsequent API call that reads from the corrupted memory region, leaking the overwritten sensitive data in the response. Alternatively, the attacker corrupts application state variables in adjacent memory to bypass authentication checks or alter business logic flow, achieving unauthorized access or privilege escalation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
Buffer overwrite vulnerability in uuid JavaScript library versions prior to 14.0.0 enables remote attackers to corrupt memory and potentially disclose sensitive information through out-of-range writes when applications use v3, v5, or v6 UUID generation functions with caller-provided output buffers. The library fails to validate buffer boundaries, allowing partial writes beyond allocated memory regions. Vendor patch available in version 14.0.0 per GitHub security advisory GHSA-w5hq-g745-h8pq. No confirmed active exploitation (not in CISA KEV), and CVSS 4.0 Environmental Score suggests exploitation status is unproven (E:U).
RemediationAI
Upgrade the uuid library to version 14.0.0 or later, which implements proper bounds checking for external output buffers in v3, v5, and v6 UUID generation functions. For Node.js projects, execute 'npm update uuid' or 'yarn upgrade uuid' and verify package.json or package-lock.json reflects >=14.0.0. For browser-based usage, update CDN references or bundled library versions. Vendor patch details available at https://github.com/uuidjs/uuid/security/advisories/GHSA-w5hq-g745-h8pq. If immediate upgrade is not feasible, implement application-layer compensating controls: (1) avoid v3/v5/v6 methods with custom buffers-use default return values or switch to v4 (random) or v1 (time-based) methods that do not accept external buffers, (2) implement strict buffer size validation in calling code before passing buffers to uuid functions, verifying buffer.length minus offset is at least 16 bytes (UUID binary length), (3) audit all code paths invoking uuid.v3(), uuid.v5(), or uuid.v6() to identify custom buffer usage patterns. Note that compensating controls introduce maintenance overhead and potential logic errors; upgrade remains the preferred remediation. Applications using only v1 or v4 methods, or using v3/v5/v6 without custom buffers, are not vulnerable despite running affected library versions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The uuid library (cpe:2.3:a:uuidjs:uuid) is a widely-used JavaScript implementation for generating RFC9562-compliant universally unique identifiers. The vulnerability stems from CWE-823 (Use of Out-of-Range Pointer Offset), occurring in the v3 (MD5-based), v5 (SHA1-based), and v6 (time-ordered) UUID generation functions. These functions accept external output buffers to avoid allocations but lack proper bounds checking on buffer size and write offset parameters. When an application passes a buffer smaller than required or specifies an offset that would write beyond buffer boundaries, the library performs silent partial writes into adjacent memory regions. This is a classic buffer overflow condition in a memory-unsafe context, though JavaScript's TypedArray implementation may limit exploitation compared to native code vulnerabilities. The flaw affects any JavaScript runtime environment (Node.js, browser, Deno, etc.) where applications invoke these UUID generation methods with custom buffers.
Know when Uuid gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
4DescriptionGitHub Advisory
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.
Blast Radius
ecosystem impact- 17 npm packages depend on uuid (12 direct, 5 indirect)
Ecosystem-wide dependent count for version 12.0.0.
Executive ViewAI
The uuid JavaScript library (versions before 14.0.0) contains a buffer overwrite vulnerability that could allow remote attackers to corrupt memory and potentially expose sensitive information in applications using UUID generation functions. Organizations relying on this library should prioritize patching to prevent data disclosure and system instability, particularly in backend services and microservices architectures where the library is commonly deployed.
Apply vendor patch: upgrade uuid to version 14.0.0 per GHSA-w5hq-g745-h8pq advisory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
A flaw was found in github.com/satori/go.uuid in versions from commit 0ef6afb2f6cdd6cdaeee3885a95099c63f18fc8c to d91630
UUID library versions before 14.0.0 make unexpected writes to external output buffers when generating UUID versions 3, 5
EUVD-2026-25600
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB