Skip to main content

uuid (uuidjs) CVE-2026-41907

| EUVDEUVD-2026-25600 HIGH
Use of Out-of-range Pointer Offset (CWE-823)
2026-04-24 GitHub_M
8.1
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Identify target using uuid < 14.0.0
  2. Delivery
    Supply crafted input to API
  3. Exploit
    Trigger v3/v5/v6 with malicious offset
  4. Execution
    Write beyond buffer boundary
  5. Persist
    Corrupt adjacent memory objects
  6. Impact
    Leak 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 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

uuid < 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 (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

GitHub Advisory PRIMARY 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
Red Hat 4.8 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 18:57 nvd
Patch available
Patch available
Apr 24, 2026 - 20:17 EUVD
CVSS changed
Apr 24, 2026 - 19:22 NVD
8.1 (HIGH)
CVE Published
Apr 24, 2026 - 18:09 nvd
HIGH 8.1

DescriptionGitHub 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
† 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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade uuid to version 14.0.0 per GHSA-w5hq-g745-h8pq advisory.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor 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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

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

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.

Vendor StatusVendor

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