
node-tar 8.0.0 Resolves High-Severity DoS Flaw in Synchronous Extraction
GitHub disclosed CVE-2026-140252, a high-severity vulnerability in the node-tar library that causes synchronous stream extraction to hang indefinitely after encountering a failing entry. The flaw, rated 7.1 on the CVSS 4.0 scale, affects versions 7.5.22 through 7.9.9 and is resolved in version 8.0.0. The issue stems from an improper reference count update where the pending counter becomes negative, preventing the stream from emitting completion signals. While the default asynchronous API is unaffected, the synchronous API is vulnerable to denial of service attacks requiring user interaction. The fix was included in the major 8.0.0 release, which also introduced breaking API changes and dropped support for older Node.js versions.