cvelo
P2 · HighCVSS 7.1EPSS 0.5%

node-tar: Uncapped linkpath drives quadratic getDirs in async path reservation causing uncatchable OOM DoS

  • CVE-2026-140118
  • EUVD-2026-140422

Description

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on POSIX hosts, asynchronous extraction of an attacker-controlled archive with a deeply nested linkpath causes PathReservations.getDirs() to materialize every ancestor prefix. The quadratic allocation can exhaust the Node.js heap and terminate the process. The reserve() path is not used for this purpose on Windows. This issue is fixed in version 8.0.0.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • isaacs node-tar

    Affected versionsFixed in
    < 8.0.0none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.