isomorphic-git: Unbounded memory allocation from attacker-controlled delta target size (DoS)
- CVE-2026-63476
- GHSA-9x82-4j54-863h
- EUVD-2026-116272
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.
Text from the CVE.org record.
Recommendation
isomorphic-git
- If you run a version before 1.38.6update to 1.38.6 or laterisomorphic-git 1.38.6 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
isomorphic-git
Affected versions Fixed in < 1.38.6 none stated isomorphic-gitnpm
Affected versions Fixed in before 1.38.6 1.38.6
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.