CVE-2026-140236

node-tar: Archive framing differential: PAX `size` is still applied to GNU/PAX meta entries via `ReadEntry`, and related size/precedence inconsistencies

Published Dec 1, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
Description
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, ReadEntry still applies PAX size values to GNU and PAX metadata entries, causing node-tar to frame archive bodies differently from other tar implementations. Related inconsistencies can bypass maxMetaEntrySize and reverse local-versus-global PAX precedence. The output-archive variant requires the archive-file input repacking feature or Pack.add(ReadEntry); a mismatch between the declared header size and copied body bytes can create additional members in the output archive. Ordinary creation from filesystem inputs is not that repacking surface. This issue is fixed in version 8.0.0.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-qv2w-fc3h-pm27 node-tar: Archive framing differential from PAX size still being applied to GNU/PAX meta entries via ReadEntry and related size/precedence inconsistencies
History
Type Values Removed Values Added
First Time appeared Isaacs
Isaacs tar
Vendors & Products Isaacs
Isaacs tar
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, ReadEntry still applies PAX size values to GNU and PAX metadata entries, causing node-tar to frame archive bodies differently from other tar implementations. Related inconsistencies can bypass maxMetaEntrySize and reverse local-versus-global PAX precedence. The output-archive variant requires the archive-file input repacking feature or Pack.add(ReadEntry); a mismatch between the declared header size and copied body bytes can create additional members in the output archive. Ordinary creation from filesystem inputs is not that repacking surface. This issue is fixed in version 8.0.0.
Title node-tar: Archive framing differential: PAX `size` is still applied to GNU/PAX meta entries via `ReadEntry`, and related size/precedence inconsistencies
Weaknesses CWE-436
References
Metrics cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 2, 2026, 8:03 PM
Reserved
Nov 30, 2026, 11:04 PM
Status
Deferred
Published
Dec 1, 2026, 6:17 PM
Modified
Dec 2, 2026, 8:20 PM