npm
CVE-2026-63476
isomorphic-git allows unbounded memory allocation from attacker-controlled delta target size (DoS)
- Severity
- Medium 4.3
- Published
- 23 Nov 2026
- Last changed
- 23 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.38.6
- Exploit chance
- 0.4% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Slow it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L- Also known as
- GHSA-9x82-4j54-863h
- Sources
- OSV.dev and GitHub
Description
When applying a delta object from a packfile, isomorphic-git reads a server-controlled targetSize and calls Buffer.alloc(targetSize) with no upper bound. A single malicious HTTP response to git.clone()/git.fetch() can force a ~2 GB allocation → memory exhaustion / DoS (process killed on memory-constrained hosts).
src/utils/applyDelta.js:
A pack with one OBJ_REF_DELTA whose header declares targetSize = 0x7FFFFFFF (~2 GB) and a 1-byte op causes the full allocation up front. The subsequent size-mismatch error is swallowed in GitPackIndex.fromPack, so on a host with spare RAM it silently wastes ~2 GB; on a small host the OS SIGKILLs the process.
git rejects the same 78-byte pack in ~96 ms — error: delta replay has gone wild / fatal: … failed to apply delta — with no large allocation and no hang (it bounds delta replay against the declared size rather than trusting it).
Affected software
| Software | Affected versions |
|---|---|
isomorphic-gitnpm · osv:npm:isomorphic-git |
|
About isomorphic-git
- Weekly downloads (npm)
- 3,355,175npm, 24 Nov 2026
Vulnerabilities in isomorphic-git
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-63478isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkoutMedium 5.3 9 Nov 2026
- CVE-2026-63475isomorphic-git: Circular symbolic references cause non-terminating resolution (DoS)Medium 4.3 9 Nov 2026
- CVE-2026-63395isomorphic-git: Arbitrary file write outside of working tree via directory symlink during checkout (potential RCE)High 8.8 9 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63476
- GitHub Advisory Database https://github.com/advisories/GHSA-9x82-4j54-863h