Improper Locking Affecting node-tar package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.67% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-NODETAR-23352714
  • published3 Dec 2026
  • disclosed1 Dec 2026

Introduced: 1 Dec 2026

NewCVE-2026-140252  (opens in a new tab)
CWE-667  (opens in a new tab)
CWE-696  (opens in a new tab)
CWE-911  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest node-tar.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-tar package and not the node-tar package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, during synchronous stream extraction, UnpackSync performs entry work without calling PEND, but inherited nonfatal error handling calls UNPEND after an entry fails. The pending counter becomes negative, so the exactly-zero completion condition is never reached and the stream does not emit end, finish, or close. The default asynchronous API and file-based synchronous API are not affected. This issue is fixed in version 8.0.0.