cvelo
P2 · HighCVSS 7.1EPSS 0.9%

node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping

  • CVE-2026-140240
  • GHSA-7c32-79xj-j3jp
  • EUVD-2026-140446

Description

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.2, a small crafted archive can exhaust memory or CPU through several path bookkeeping paths. Asynchronous PathReservations performs excessive work for unbounded linkpath depth and long path components, retains completed reservation state, and stores long names in the normalizeUnicode cache whose entry-count limit does not bound bytes. Separately, filesFilter memoizes path prefixes when the caller supplies a file list. This issue is fixed in version 8.0.2.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • isaacs node-tar

    Affected versionsFixed in
    < 8.0.2none stated
  • tarnpm

    Affected versionsFixed in
    before 8.0.28.0.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.