node-tar is a tar archive manipulation library for Node.js. From 7.0.0 until 7.5.24, tar: non-finite PAX size (Infinity) bypasses validation, causing extraction entry loss and an uncaught exception when re-packing. The affected security path includes tar, size, 17 size=Infinity\n. This issue is fixed in version 7.5.24.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1284"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140242.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.5.24"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "6b815b7c10be504a01af2369a270add7099542d8"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v7.5.24",
"range": [
{
"fixed": "ab9186a7a65cd473832e7876a6518ae24b1440b5"
}
],
"source": "REFERENCES_TAG"
}
]
}