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.
7.5.24Am 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
| Package | Ecosystem | Affected | Fixed in |
|---|---|---|---|
node-tar | other | >=7.0.0, <7.5.24 | 7.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
- node-tar UnpackSync can hang and never finish extractionHigh8.0.0
- node-tar deadlock in async archive extraction (CVE-2026-140251)High8.0.0
- node-tar symlink escape when extracting crafted archivesHigh8.0.0
- node-tar symlink escape lets a tarball read and write files anywhereHigh8.0.0
- node-tar symlink escape lets crafted archives leave extraction rootHigh8.0.0
- node-tar symlink escape writes outside the extraction folderHigh8.0.0