Description
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, node-tar coerces all-digit PAX path and linkpath values in src/pax.ts to JavaScript numbers, causing downstream path handling such as normalizeWindowsPath(entry.path).split('/') to throw an uncaught TypeError. This issue is fixed in version 7.5.18.
Published: 2026-07-08
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The bug arises from node-tar converting all‑digit PAX path and linkpath strings into JavaScript numbers before they are used by path handling functions. This type confusion causes a TypeError during path normalization.js process terminating. Users of the library that extract tar archives from untrusted sources could therefore experience an unplanned process shutdown, interrupting services or desynchronizing state, but there is no direct disclosure of secrets or arbitrary code execution.

Affected Systems

The affected product is the node‑tar package published by isaacs. Versions earlier than 7.5.18 are vulnerable; the fix was introduced in release 7.5.18. Any Node.js application that depends on node‑tar without updating to a patched version is at risk.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. EPSS score of <1% indicates a very low exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, the likely attack vector is via input supplied to an application that uses node‑tar to extract tar files, implying that an attacker could trigger the crash by crafting an archive with numeric PAX paths. The vulnerability does not grant code execution or privilege escalation of‑service objectives.

Generated by OpenCVE AI on July 29, 2026 at 13:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade node‑tar to version 7.5.18 or later.
  • Audit all dependency trees to ensure no older node‑tar packages remain.
  • If a patch cannot be applied, sanitize tar entries to reject or before extraction, mitigating the type confusion.

Generated by OpenCVE AI on July 29, 2026 at 13:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w8wr-v893-vjvp node-tar: Process crash via PAX numeric path type confusion
History

Fri, 10 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Isaacs
Isaacs tar
Vendors & Products Isaacs
Isaacs tar

Fri, 10 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-843
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 08 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
Description node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, node-tar coerces all-digit PAX path and linkpath values in src/pax.ts to JavaScript numbers, causing downstream path handling such as normalizeWindowsPath(entry.path).split('/') to throw an uncaught TypeError. This issue is fixed in version 7.5.18.
Title node-tar: Process crash via PAX numeric path type confusion
Weaknesses CWE-704
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-08T16:13:05.563Z

Reserved: 2026-07-07T15:41:53.607Z

Link: CVE-2026-59871

cve-icon Vulnrichment

Updated: 2026-07-08T16:13:01.142Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-08T15:25:09Z

Links: CVE-2026-59871 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T14:00:03Z

Weaknesses
  • CWE-704

    Incorrect Type Conversion or Cast

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')