Skip to main content

uuid CVE-2026-41988

| EUVDEUVD-2026-25190 LOW
Always-Incorrect Control Flow Implementation (CWE-670)
2026-04-23 mitre GHSA-qmq6-f8pr-cx5x
2.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local code execution
  2. Delivery
    Call uuid version 3/5/6 generator
  3. Exploit
    Provide undersized external buffer
  4. Execution
    Trigger out-of-bounds write
  5. Impact
    Corrupt heap memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Always-incorrect control flow
Exploitation Conditions

Exploitation requires all of the following: (1) local code execution within the same process running uuid library, (2) the application calling uuid generation for versions 3, 5, or 6 specifically (UUID version 4 is unaffected), (3) the application providing external pre-allocated buffers to uuid generation functions rather than using default internal allocation, and (4) the external buffer size not being validated or being smaller than expected UUID output (16 bytes). Applications using uuid version 4 (random UUID generation) with default buffer allocation are not vulnerable. Remote attack is not possible; this is a local privilege or logic attack only.

Impact

CVSS 3.2 with AV:L (local access required) and AC:H (high attack complexity) indicates low immediate risk. CVSS integrity impact (I:L) confirms memory corruption rather than confidentiality breach or availability loss. The scope change (S:C) suggests the impact can affect system confidentiality or availability indirectly, but the low base score reflects minimal practical exploitability. Critically, this vulnerability requires: (1) local attacker presence, (2) application actively using external buffers for UUID generation (non-default usage), and (3) UUID versions 3, 5, or 6 specifically. The widespread use of UUID version 4 (randomly generated, cryptographically secure) means most production applications are unaffected. No KEV status, POC availability, or EPSS score provided; absence of these signals combined with the narrow attack surface (local + non-default configuration + specific UUID versions) suggests low real-world exploitation likelihood. This is a valid but low-priority vulnerability for most deployments.

Exploit ScenarioDerived

A local attacker gains code execution within a Node.js application that uses uuid library version 3, 5, or 6 with externally managed buffers (for example, a Uint8Array pre-allocated for performance optimization). The attacker crafts input to the UUID generation function to trigger UUID version 3, 5, or 6 generation with an undersized buffer, causing the function to write beyond buffer boundaries and corrupt adjacent heap memory used by the application. This memory corruption could alter application state or bypass security checks, though achieving reliable code execution is difficult due to heap layout variability.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 23, 2026

UUID library versions before 14.0.0 make unexpected writes to external output buffers when generating UUID versions 3, 5, or 6, potentially corrupting adjacent memory. UUID version 4, the most commonly deployed variant, is unaffected. The vulnerability requires local access and non-default buffer configuration to exploit, resulting in integrity compromise rather than code execution or availability impact.

RemediationAI

Vendor-released patch: upgrade uuid library to version 14.0.0 or later. For npm projects, run 'npm install uuid@^14.0.0' or update the dependency version in package.json and reinstall. Most applications using uuid version 4 (random UUIDs) can safely defer patching if buffer allocation is not externally controlled; however, applications using UUID versions 3, 5, or 6 with external pre-allocated buffers should prioritize immediate upgrade. If immediate upgrade is not feasible and the application uses external buffers for UUID generation, implement input validation to ensure buffer size matches expected UUID output length (16 bytes), or refactor code to use the library's default internal buffer allocation (which is not affected by this issue). The patch is available from the GitHub security advisory at https://github.com/uuidjs/uuid/security/advisories/GHSA-w5hq-g745-h8pq and commit 3d2c5b0342f0fcb52a5ac681c3d47c13e7444b34.

Affected VersionsENISA

uuid 0 <14.0.0

Affected Packages

npm uuid fix: 11.1.1, 12.0.1, 13.0.1, 14.0.0

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 (npm package uuidjs/uuid) is a JavaScript implementation for generating and parsing RFC 4122 compliant universally unique identifiers. The vulnerability exists in UUID generation functions for versions 3, 5, and 6 when callers provide external pre-allocated output buffers to write results into, rather than using default allocations. Version 3 (MD5-based namespace UUID), version 5 (SHA-1-based namespace UUID), and version 6 (timestamp-based) generation functions fail to properly respect buffer boundaries, causing writes beyond the intended region. This is a buffer handling issue (CWE-670: Always-Incorrect Control Flow Implementation) where the generation logic does not properly validate or constrain write operations to external buffers. UUID version 4 (random) and version 1 (timestamp-based) are not affected, likely because their generation paths use different write logic or have proper boundary checks.

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

NVD PRIMARY 2.5 LOW
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

4
CVSS changed
Jul 08, 2026 - 03:37 NVD
3.2 (LOW) 2.5 (LOW)
Patch released
Apr 24, 2026 - 14:50 nvd
Patch available
Patch available
Apr 23, 2026 - 06:16 EUVD
CVE Published
Apr 23, 2026 - 04:00 nvd
LOW 3.2

DescriptionNVD

uuid before 14.0.0 can make unexpected writes when external output buffers are used, and the UUID version is 3, 5, or 6. In particular, UUID version 4, which is very commonly used, is unaffected by this issue.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 17 npm packages depend on uuid (12 direct, 5 indirect)

Ecosystem-wide dependent count for version 12.0.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy