Improper handling of highly compressed data in pnpm - #VU170822
Published: November 29, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by exhausting memory during dependency installation.
The vulnerability exists due to unbounded gzip decompression in addFilesFromTarball() when pnpm unpacks a dependency tarball. A remote attacker can supply a highly compressed dependency tarball through the npm registry, a direct URL, or a Git repository to exhaust memory when a user installs the dependency.