
node-tar 8.0.2 Fixes High-Severity Memory Exhaustion Flaw in Path Bookkeeping
GitHub Inc. assigned CVE-2026-140240 to the node-tar library, identifying a high-severity vulnerability that allows attackers to exhaust memory or CPU resources using small, crafted tar archives. The flaw, rated 7.1 on the CVSS 4.0 scale, affects versions prior to 8.0.2 and stems from inefficient path-reservation bookkeeping and unbounded caching. The issue has been resolved in version 8.0.2, which introduces fixes for excessive work in asynchronous path reservations and limits on memory allocation.