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.
Github GHSA