Lucene search
+L

5 matches found

Github Security Blog
Github Security Blog
•added 2026/12/02 1:45 a.m.•9 views

node-tar: Incomplete NUL-byte truncation in ustar, GNU, and PAX names causes name differentials and async crashes

Summary Names are cut at the first NUL with .replace/\0./, ''. Without the s flag, . doesn't match \n, \r, U+2028 or U+2029. If one of these follows the NUL, only part of the name is removed, and the NUL remains. The GHSA-gvwx-54wh-qm9j fix 7.5.17, commit 7a635c2 added this regex for PAX values o...

7.1CVSS5.9AI score
SaveExploits0References5Affected Software1
NVD
NVD
•added 2026/12/01 6:17 p.m.•4 views

CVE-2026-140234

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,...

7.1CVSS
SaveExploits0References3
osv_cve
osv_cve
•added 2026/12/01 5:09 p.m.•6 views

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

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,...

7.1CVSS6AI score
SaveExploits0References5
CVE
CVE
•added 2026/12/01 5:09 p.m.•10 views

CVE-2026-140234

The node-tar library for Node.js (versions prior to 8.0.0 ) is vulnerable to a null byte injection issue. The library's regex for null byte truncation (/\0.*/) incorrectly stops at newlines (\n, \r) and specific Unicode characters (U+2028, U+2029), allowing NUL bytes to persist in ustar, GNU, and...

7.1CVSS5.9AI score
SaveExploits0References3
Cvelist
Cvelist
•added 2026/12/01 5:09 p.m.•13 views

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

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,...

7.1CVSS
SaveExploits0References3
Rows per page
Query Builder