Uncaught Exception Affecting tar package, versions <7.5.17


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-TAR-17909225
  • published9 Jul 2026
  • disclosed8 Jul 2026
  • creditKayiz-PT

Introduced: 8 Jul 2026

NewCVE-2026-59875  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade tar to version 7.5.17 or higher.

Overview

tar is a full-featured Tar for Node.js.

Affected versions of this package are vulnerable to Uncaught Exception through improper handling of NUL bytes in the src/pax.ts file. An attacker can cause the application to terminate unexpectedly by providing a crafted archive containing NUL bytes in PAX path or linkpath records, which leads to an uncaught exception when these values are passed to filesystem operations.

CVSS Base Scores

version 4.0
version 3.1