Advisory record · GHSA-jggr-w7fw-pc2j

fast-copy: Stack exhaustion in fast-copy when copying deeply-nested values

CVSS 4.0, no score published

Published by the GitHub Advisory Database at 5 Oct 2026, 22:52 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
fast-copynpm>=4.0.0, <4.1.0 || >=3.0.0, <3.1.0 || <2.2.04.1.0, 3.1.0, 2.2.0
Identifiers
GHSA-jggr-w7fw-pc2j
Weakness (CWE)
CWE-674
Published
5 Oct 2026
Updated
5 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of the fast-copy npm package before 2.2.0, from 3.0.0 before 3.1.0, and from 4.0.0 before 4.1.0 are affected. Copying a deeply nested value makes the library's recursive traversal exhaust the call stack, which throws a RangeError; the source says there is no memory corruption or data exposure, and the failure is limited to the failing call. The source gives the fix as upgrading to 2.2.0, 3.1.0, or 4.1.0, which add a maxDepth option (default 1000) that raises a MaxDepthExceededError instead.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
Not published None 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 13:34 UTC First seen by agentprime
  2. 31 Oct 2026, 13:34 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.