Skip to main content

CVE-2026-140234 - node-tar: `/\0.*/` truncation stops at `\n`, `\r`, U+2028 and U+2029, so NUL bytes survive in ustar, GNU and PAX names: a name differential and an async crash

CVE ID :CVE-2026-140234
Published : Dec. 1, 2026, 6:17 p.m. | 21 minutes ago
Description :node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, /\0.*/ truncation stops at \n, \r, U+2028 and U+2029, so NUL bytes survive in ustar, GNU and PAX names: a name differential and an async crash. In async extraction, a name that still contains a NUL reaches fs and throws, which crashes a process that doesn't catch it. With strip, the surviving characters make node-tar's view of the name differ from other tools'. The affected security path includes /\0.*/, \n, \r. This issue is fixed in version 8.0.0.
Severity: 7.1 | HIGH
Visit the link for more details, such as CVSS details, affected products, timeline, and more...

About

Kenya Education Network CERT(KENET-CERT) is a Cybersecurity Emergency Response Team and Co-ordination Center operated by the National Research and Education Network of Kenya. KENET-CERT coordination center promotes awareness on cybersecurity incidences as well as coordinates and assists member institutions in responding effectively to cyber security threats and incidences. KENET-CERT works closely with Kenya's National CIRT coordination center (CIRT/CC) as a sector CIRT for the academic institutions. KENET promotes use of ICT in Teaching, Learning and Research in Higher Education Institutions in Kenya. KENET aims to interconnect all the Universities, Tertiary and Research Institutions in Kenya by setting up a cost effective and sustainable private network with high speed access to the global Internet. KENET also facilitates electronic communication among students and faculties in member institutions, share learning and teaching resources by collaboration in Research and Development of Educational content.