PT-2026-164995
CVE-2026-140236
·
Published
2026-12-01
·
Updated
2026-12-02
Description by
CVSS 4.0
7.2
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
node-tar versions prior to 8.0.0
Description
The
ReadEntry function incorrectly applies PAX size values to GNU and PAX metadata entries. This causes the library to frame archive bodies differently than other tar implementations, which can lead to the bypass of maxMetaEntrySize and the reversal of local-versus-global PAX precedence. When using the archive-file input repacking feature or the Pack.add(ReadEntry) function, a mismatch between the declared header size and the copied body bytes may result in the creation of additional members within the output archive.Recommendations
Update node-tar to version 8.0.0.
Found an issue in the description? Have something to add? Feel free to write us 👾