CVE-2026-63476
isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers.
- Severity: Medium
- CVSS 4.3
- EPSS 0.40%
- Public exploit
- P4 · Track
Why P4: track.
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.
Affected products
- npm isomorphic-git < 1.38.6; first patched: 1.38.6
Weakness
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub
- Advisory reference GitHub
- Advisory reference GitHub