CVE-2026-63476: 
JavaScript vulnerability analysis and mitigation

Overview

CVE-2026-63476 is a Denial of Service vulnerability in isomorphic-git, a pure JavaScript implementation of Git for Node.js and browsers, caused by unbounded memory allocation from an attacker-controlled packfile delta target size. When applying a delta object from a packfile, the library reads a server-controlled targetSize value and passes it directly to Buffer.alloc(targetSize) without any upper bound check, allowing a malicious or man-in-the-middle remote to trigger an approximately 2 GB off-heap memory allocation during git.clone() or git.fetch() operations. All versions prior to 1.38.6 are affected. It carries a CVSS v3.1 base score of 4.3 (Medium) (GitHub Advisory, Red Hat).

Technical details

The root cause is uncontrolled resource consumption (CWE-400) and memory allocation with an excessive size value (CWE-789 / CWE-770), located in src/utils/applyDelta.js. The vulnerable code reads targetSize via readVarIntLE(reader) from the delta header — a value fully controlled by the server — and immediately calls Buffer.alloc(targetSize) before processing any delta operations or validating the declared size against actual output. A crafted packfile containing a single OBJ_REF_DELTA object with targetSize = 0x7FFFFFFF (~2 GB) and a 1-byte operation triggers the full allocation upfront. Compounding the issue, GitPackIndex.fromPack silently swallows the subsequent size-mismatch error, meaning the resource waste may persist without a visible failure on hosts with sufficient RAM. Because the allocation is off-heap (Node.js Buffer), Node.js heap limits such as --max-old-space-size do not mitigate the attack (GitHub Advisory, Fix Commit).

Impact

Successful exploitation results in a denial of service through memory exhaustion: a single malicious HTTP response to git.clone() or git.fetch() forces an approximately 2 GB off-heap allocation, which can cause the OS to OOM-kill the process on memory-constrained hosts. Environments most at risk include containers, serverless functions, and small virtual machines where memory limits are tight. On hosts with ample RAM, the allocation may be silently retained without a visible error, wasting significant system resources. There is no confidentiality or integrity impact; the vulnerability is limited to availability (GitHub Advisory, Red Hat Bugzilla).

Exploitability

A proof-of-concept exploit is publicly available at the spiceoverflow/av4-oom GitHub repository, referenced in the security advisory, which demonstrates confirmed OOM allocation of 2 GB during a clone operation (GitHub Advisory). The NVD SSVC assessment classifies exploitation status as "poc" and the attack as non-automatable (user interaction required to initiate a clone or fetch). The EPSS score is approximately 0.285%, indicating a low but non-negligible probability of exploitation in the wild. No in-the-wild exploitation or threat actor attribution has been reported, and the vulnerability is not listed in the CISA KEV catalog.

Exploitation steps

  1. Set up a malicious Git server: Configure an HTTP-based Git server that serves a crafted packfile. The pack contains a single OBJ_REF_DELTA object whose delta header declares targetSize = 0x7FFFFFFF (~2 GB) with only a 1-byte operation payload, resulting in a total pack of approximately 78 bytes.
  2. Position as malicious remote or MitM: Either operate a server that victims clone from directly (e.g., a typosquatted or compromised repository), or perform a man-in-the-middle attack on an unprotected HTTP Git connection to intercept and replace the legitimate packfile response.
  3. Trigger victim clone or fetch: Wait for or socially engineer a victim application using a vulnerable version of isomorphic-git (< 1.38.6) to execute git.clone() or git.fetch() against the attacker-controlled remote.
  4. Exploit unbounded allocation: When isomorphic-git processes the crafted packfile, applyDelta in src/utils/applyDelta.js reads the attacker-supplied targetSize and calls Buffer.alloc(0x7FFFFFFF), immediately allocating ~2 GB of off-heap memory.
  5. Achieve denial of service: On memory-constrained hosts (containers, serverless functions, small VMs), the OS OOM-killer terminates the process. On hosts with sufficient RAM, ~2 GB is silently wasted as GitPackIndex.fromPack swallows the subsequent size-mismatch error (GitHub Advisory).

Indicators of compromise

  • Network: Outbound git.clone() or git.fetch() HTTP requests to unexpected or newly registered remote URLs; receipt of anomalously small packfile responses (~78 bytes) that trigger large memory consumption.
  • Process: Node.js process consuming ~2 GB of external (off-heap) memory during a git clone or fetch operation, observable via process.memoryUsage().external; process termination with OOM signals (SIGKILL) during git operations.
  • Logs: Application logs showing git.clone() or git.fetch() calls that either hang, terminate unexpectedly, or complete without error while system memory spikes; container or serverless runtime OOM termination events correlated with git operations.
  • System: OS-level OOM killer log entries (e.g., Linux dmesg showing Out of memory: Kill process) associated with the Node.js process running isomorphic-git (GitHub Advisory).

Mitigation and workarounds

Upgrade isomorphic-git to version 1.38.6 or later, which fixes the vulnerability by building the delta result from actual delta operations rather than pre-allocating the untrusted targetSize, and validates the total against targetSize only after processing all ops (GitHub Release, Fix Commit). As interim mitigations, enforce HTTPS with certificate pinning for all git remote connections to reduce MitM attack surface, and implement memory usage monitoring with process-level resource limits appropriate for your deployment environment. Note that Node.js heap flags (e.g., --max-old-space-size) do not mitigate this vulnerability because the allocation is off-heap.

Community reactions

Red Hat tracked the vulnerability as medium severity in their Bugzilla system and listed the CVE status as "Deferred" in their advisory portal, indicating it does not directly affect Red Hat products at this time (Red Hat, Red Hat Bugzilla). The advisory notes a near-identical bug in the Dulwich peer Git implementation (CVE-2026-47734), suggesting this class of vulnerability affects multiple Git library implementations. No significant social media discussion or broader media coverage has been identified.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-hvp5-3mrg-q5hgHIGH7.5
  • JavaScript logoJavaScript
  • http-proxy-middleware
NoNoNov 22, 2026
GHSA-mfx2-3f77-8pfwMEDIUMN/A
  • JavaScript logoJavaScript
  • ong-sementes-amanha
NoYesNov 22, 2026
GHSA-cgf8-w36h-48hqMEDIUMN/A
  • JavaScript logoJavaScript
  • ong-sementes-amanha
NoYesNov 22, 2026
GHSA-792c-f5pf-pmxqLOWN/A
  • JavaScript logoJavaScript
  • ong-sementes-amanha
NoYesNov 22, 2026
GHSA-2xr2-jcwr-j926LOWN/A
  • JavaScript logoJavaScript
  • ong-sementes-amanha
NoYesNov 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management