CVE-2026-140231
node-tar: Decompression within the ratio limit is buffered in memory without backpressure, and zero-size entries queue without bound
- Severity
- high CVSS 7.1 (v4.0)
- Affects
- node-tar · isaacs
- Weakness
- CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
- Published
- 1 December 2026 by GitHub_M
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, decompression within the ratio limit is buffered in memory without backpressure, and zero-size entries queue without bound. A service that extracts or lists untrusted compressed archives can be made to use much more memory than the archive size suggests, without hitting the ratio limit. The affected security path includes maxDecompressionRatio, ReadEntry, src/parse.ts:576-577, 551-555, 343. This issue is fixed in version 8.0.0.
Our coverage
We have not written about this one. Know why it matters? Send a tip.