CVE-2026-140231 PUBLISHED

node-tar: Decompression within the ratio limit is buffered in memory without backpressure, and zero-size entries queue without bound

Assigner: GitHub_M
Reserved: 30.11.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor isaacs
Product node-tar
Versions
  • Version < 8.0.0 is affected

References

Problem Types

  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) CWE
  • CWE-770: Allocation of Resources Without Limits or Throttling CWE