Intel

AIKIDO-2026-598108

isomorphic-git is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-63476 Published 2 days ago

43

Medium Risk

This Affects:

JSisomorphic-git
0.0.1 - 1.38.5
Fixed in 1.38.6
Are you affected? Scan for Free

TL;DR

When applying a packfile delta object, isomorphic-git reads an attacker-controlled targetSize and calls Buffer.alloc on it with no upper bound. A single malicious response to clone or fetch can declare a very large target size and force a multi-gigabyte allocation, exhausting memory and crashing the process on memory-constrained hosts. The subsequent size-mismatch error is swallowed, so the wasted allocation happens before any validation. The fix builds the delta result from the actual delta operations instead of pre-allocating the declared target size.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you clone or fetch from untrusted or compromised remotes.

Background info

isomorphic-git is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 1.38.5.

How to fix this

Upgrade the isomorphic-git library to the patch version.