CVE-2026-63476

isomorphic-git: Unbounded memory allocation from attacker-controlled delta target size (DoS)

Published Nov 3, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git reads a server-controlled targetSize while applying a packfile delta in src/utils/applyDelta.js and passes it without a bound to Buffer.alloc(targetSize). A malicious or man-in-the-middle-controlled remote can send one delta header that causes git.clone() or git.fetch() to allocate approximately 2 GB before validating the actual delta output. GitPackIndex.fromPack swallows the later size-mismatch error, so a host with sufficient memory may retain the resource waste without a visible failure, while containers, serverless functions, and small virtual machines may terminate. Node.js heap limits do not mitigate the off-heap Buffer allocation. This issue is fixed in version 1.38.6.

Analysis

AI-generated

Technical impact

isomorphic‑git, a pure JavaScript implementation of Git, processes a server‑controlled targetSize value when applying a packfile delta. Prior to version 1.38.6 the library passes this value directly to Buffer.alloc without bounds checking, allowing an attacker to cause the process to allocate roughly 2 GB of memory before any delta validation is performed. If the remote packfile later mismatches the declared size, the code may ignore the error but the oversized allocation remains, leading to resource exhaustion without an obvious failure. The allocation occurs off‑heap, so Node.js heap limits do not prevent it.

Affected Systems

Any deployment that uses isomorphic‑git versions earlier than 1.38.6 is affected. This includes server‑side Node.js applications, browser‑based Git clients, containers, serverless functions, and small virtual machines that rely on the package. The issue persists in any environment that accepts external Git packfiles from a remote or man‑in‑the‑middle attacker.

Risk and Exploitability

The vulnerability scores a CVSS of 4.3, indicating moderate severity. EPSS data is not available, and the flaw is not listed in the CISA KEV catalog. Because the exploit requires only network delivery of a crafted delta, it can be performed remotely, making it a convenient target for denial‑of‑service attacks. If the target environment has ample memory, the process may continue, but containers, serverless runtimes, or small VMs may terminate, causing availability disruption. The lack of visible failure can allow an attacker to repeatedly flood the target, exhausting memory over time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade isomorphic‑git to version 1.38.6 or later
  • Restrict the source of Git packfiles to trusted repositories
  • Implement memory limits or container isolation to cap off‑heap allocations

Generated by OpenCVE AI on November 4, 2026 at 10:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9x82-4j54-863h isomorphic-git allows unbounded memory allocation from attacker-controlled delta target size (DoS)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Isomorphic-git
Isomorphic-git isomorphic-git
Vendors & Products Isomorphic-git
Isomorphic-git isomorphic-git
Type Values Removed Values Added
Description isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git reads a server-controlled targetSize while applying a packfile delta in src/utils/applyDelta.js and passes it without a bound to Buffer.alloc(targetSize). A malicious or man-in-the-middle-controlled remote can send one delta header that causes git.clone() or git.fetch() to allocate approximately 2 GB before validating the actual delta output. GitPackIndex.fromPack swallows the later size-mismatch error, so a host with sufficient memory may retain the resource waste without a visible failure, while containers, serverless functions, and small virtual machines may terminate. Node.js heap limits do not mitigate the off-heap Buffer allocation. This issue is fixed in version 1.38.6.
Title isomorphic-git: Unbounded memory allocation from attacker-controlled delta target size (DoS)
Weaknesses CWE-400
CWE-789
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-789

    Memory Allocation with Excessive Size Value

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 7, 2026, 3:27 AM
Reserved
Jul 16, 2026, 9:37 PM
Status
Deferred
Published
Nov 3, 2026, 8:18 PM
Modified
Nov 7, 2026, 4:17 AM
Severity
Moderate
Public date
Nov 3, 2026, 7:44 PM