High

node-tar flaw: infinite PAX size bypasses validation (CVE-2026-140242)

A tar entry whose PAX header declares a size of Infinity bypasses validation, so entries can be silently lost during extraction and re-packing can crash with an uncaught exception. An attacker can use this to corrupt or drop archived files.

Product
Systems
macOSWindowsLinux
Fixed in
7.5.24
CVSS
7.1
Weakness
CWE-1284
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 7.5.24. Check the version you have and update to 7.5.24 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
node-tarother>=7.0.0, <7.5.247.5.24

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Any project using the node-tar library for Node.js in versions 7.0.0 up to but not including 7.5.24, on macOS, Windows or Linux.

Expected outcome after remediation

The agent reports whether node-tar is installed, which version it found, and whether that version is in the affected range, then updates it to 7.5.24 or later if needed.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5480 and your operating system.

Related node-tar incidents

All node-tar incidents