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.
Published: 2026-12-01
Score: 7.1 High
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Dec 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
Weaknesses CWE-401
CWE-407
CWE-770
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-01T17:28:11.700Z

Reserved: 2026-11-30T22:04:22.618Z

Link: CVE-2026-140240

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-407

    Inefficient Algorithmic Complexity

  • CWE-770

    Allocation of Resources Without Limits or Throttling