NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

CVE-2026-63476 — isomorphic-git

MEDIUMFix: isomorphic-git/isomorphic-git@823843d

CVE-2026-63476 is a medium-severity (CVSS 4.3) Uncontrolled Resource Consumption vulnerability in isomorphic-git. A fix is available for isomorphic-git — see the affected versions and patch details below.

isomorphic-git: Unbounded memory allocation from attacker-controlled delta target size (DoS)

Also known asGHSA-9x82-4j54-863h
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 22, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-63476.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs35th percentile — riskier than 35% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
📦isomorphic-git

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.

Description

Summary

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).

Details

src/utils/applyDelta.js:

const sourceSize = readVarIntLE(reader)
const targetSize = readVarIntLE(reader)   // attacker-controlled
…
target = Buffer.alloc(targetSize)

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.

Canonical git behavior (divergence)

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).

PoC

https://github.com/spiceoverflow/av4-oom — open in a Codespace; a single clone/fetch against the bundled server, run under --max-old-space-size=256:

[AV-4] *** OOM ALLOCATION CONFIRMED — Buffer.alloc(targetSize) RAN ***
[AV-4] External (Buffer) memory rose by 2048 MB during clone.

(The allocation is off-heap, so a Node heap cap does not mitigate it.)

Impact

A denial of service via unbounded memory allocation: a single response from a malicious or MitM'd server to git.clone()/git.fetch() forces a multi-gigabyte allocation, crashing the process on memory-constrained hosts.

Any application or service that clones or fetches from untrusted/compromised remotes with isomorphic-git — most acutely containers, serverless functions, and small VMs, where the OS OOM-kills the process.

Suggested fix

Don't pre-allocate the untrusted targetSize: build the result from the actual delta ops and validate the total against targetSize before concatenating (and/or cap it against the advertised pack size).

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmisomorphic-gitall versions1.38.6npm install isomorphic-git@1.38.6

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for isomorphic-git, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update isomorphic-git to 1.38.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-63476 is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Frequently Asked Questions

### Summary 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). ### Details `src/utils/applyDelta.js`: ```js const sourceSize = readVarIntLE(reader) const targetSize = readVarIntLE(reader) // attacker-controlled … target = Buffer.alloc(targetSize) ``` A pack with one `OBJ_REF_DELTA` whose header declares `targetSize =
O3 Security · Impact-Aware SCA

Is CVE-2026-63476 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2026-63476: isomorphic-git DoS — Fixed in 1.38.6