Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59871: CWE-704: Incorrect Type Conversion or Cast in isaacs node-tar

0
Medium
VulnerabilityCVE-2026-59871cvecve-2026-59871cwe-704
Published: 07/08/2026 (07/08/2026, 15:25:09 UTC)
Source: CVE Database V5
Vendor/Project: isaacs
Product: node-tar

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.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

node-tar
pkg:npm/node-tar
Affected versions
<7.5.18

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 16:14:20 UTC

Technical Analysis

The node-tar library for Node.js versions before 7.5.18 improperly coerces all-digit PAX path and linkpath values into JavaScript numbers in src/pax.ts. This incorrect type conversion causes functions like normalizeWindowsPath(entry.path).split('/') to throw an uncaught TypeError, disrupting normal archive processing. The vulnerability is classified under CWE-704 (Incorrect Type Conversion or Cast). The issue has been resolved in node-tar version 7.5.18.

Potential Impact

This vulnerability does not impact confidentiality or integrity but can cause availability issues by triggering uncaught TypeErrors during path normalization, potentially leading to application crashes or denial of service when processing certain tar archives with all-digit PAX path or linkpath values.

Mitigation Recommendations

Upgrade node-tar to version 7.5.18 or later, where this issue is fixed. No other mitigation is indicated or necessary.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-07T15:41:53.607Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4e73c2c9d9e3dbe36042c0

Added to database: 07/08/2026, 15:58:58 UTC

Last enriched: 07/08/2026, 16:14:20 UTC

Last updated: 07/08/2026, 18:05:30 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses