{"id":"CVE-2026-140232","aliases":["CLSA-2026-1796209074","CLSA-2026-1796224850","DEBIAN-CVE-2026-140232","EUVD-2026-140403","GHSA-xv7h-rgq8-7m7v","UBUNTU-CVE-2026-140232"],"status":"published","title":"node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator-Blind String Sanitization","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. This issue is fixed in version 8.0.0.","severity":{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve","others":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"osv"}]},"epss":{"day":"2026-12-04","score":0.00517,"percentile":0.45497,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-158"],"published":"2026-12-01T16:57:01Z","modified":"2026-12-04T19:45:08Z","affected":[{"source":"osv","ecosystem":"TuxCare:npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.5.22-tuxcare.0"},{"fixed":"7.5.22-tuxcare.1"}]}],"versions":["7.5.22"],"bundled":24},{"source":"osv","ecosystem":"TuxCare:npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.5.21-tuxcare.0"},{"fixed":"7.5.21-tuxcare.1"}]}],"versions":["7.5.21"],"bundled":24},{"source":"osv","ecosystem":"Debian:12","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.13+~cs7.0.5-1","6.1.13+~cs7.0.5-1+deb12u1","6.1.13+~cs7.0.5-2","6.1.13+~cs7.0.5-3","6.1.13+~cs7.0.5-4","6.2.1+ds1+~cs6.1.13-1","6.2.1+ds1+~cs6.1.13-10","6.2.1+ds1+~cs6.1.13-11","6.2.1+ds1+~cs6.1.13-2","6.2.1+ds1+~cs6.1.13-3","6.2.1+ds1+~cs6.1.13-4","6.2.1+ds1+~cs6.1.13-5","6.2.1+ds1+~cs6.1.13-6","6.2.1+ds1+~cs6.1.13-7","6.2.1+ds1+~cs6.1.13-8","6.2.1+ds1+~cs6.1.13-9","6.2.1+~cs7.0.8-1","7.5.16+~4.0.1-1","7.5.16+~4.0.1-2","7.5.19+~4.0.1-1","7.5.19+~4.0.1-2","7.5.22+~4.0.1-1","7.5.24+~4.0.1-1"]},{"source":"osv","ecosystem":"Debian:13","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.1+ds1+~cs6.1.13-1","6.2.1+ds1+~cs6.1.13-10","6.2.1+ds1+~cs6.1.13-11","6.2.1+ds1+~cs6.1.13-2","6.2.1+ds1+~cs6.1.13-3","6.2.1+ds1+~cs6.1.13-4","6.2.1+ds1+~cs6.1.13-5","6.2.1+ds1+~cs6.1.13-6","6.2.1+ds1+~cs6.1.13-7","6.2.1+ds1+~cs6.1.13-8","6.2.1+ds1+~cs6.1.13-9","6.2.1+~cs7.0.8-1","6.2.1+~cs7.0.8-1+deb13u1","7.5.16+~4.0.1-1","7.5.16+~4.0.1-2","7.5.19+~4.0.1-1","7.5.19+~4.0.1-2","7.5.22+~4.0.1-1","7.5.24+~4.0.1-1"]},{"source":"osv","ecosystem":"Debian:14","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.1+ds1+~cs6.1.13-1","6.2.1+ds1+~cs6.1.13-10","6.2.1+ds1+~cs6.1.13-11","6.2.1+ds1+~cs6.1.13-2","6.2.1+ds1+~cs6.1.13-3","6.2.1+ds1+~cs6.1.13-4","6.2.1+ds1+~cs6.1.13-5","6.2.1+ds1+~cs6.1.13-6","6.2.1+ds1+~cs6.1.13-7","6.2.1+ds1+~cs6.1.13-8","6.2.1+ds1+~cs6.1.13-9","6.2.1+~cs7.0.8-1","7.5.16+~4.0.1-1","7.5.16+~4.0.1-2","7.5.19+~4.0.1-1","7.5.19+~4.0.1-2","7.5.22+~4.0.1-1","7.5.24+~4.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.18-1","0.1.18-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.3-2","1.0.3-2ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.10+ds1-2","4.4.10+ds1-2ubuntu1","4.4.10+ds1-2ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.7+~cs11.3.10-1","6.1.11+~cs11.3.10-1","6.1.11+ds1+~cs6.0.6-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.13+~cs7.0.5-1","6.1.13+~cs7.0.5-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.1+ds1+~cs6.1.13-10","7.5.22+~4.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.1+~cs7.0.8-1","6.2.1+ds1+~cs6.1.13-6","6.2.1+ds1+~cs6.1.13-7","6.2.1+ds1+~cs6.1.13-10"]}],"products":[{"vendor":"isaacs","product":"node-tar"}],"references":[{"url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-xv7h-rgq8-7m7v","tags":["x_refsource_CONFIRM","advisory","report"]},{"url":"https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/isaacs/node-tar/releases/tag/v8.0.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140232.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140232","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-140232","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-140232","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-140232","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-140232","title":"node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator-Blind String Sanitization","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T16:57:01.738Z","modified":"2026-12-02T19:03:50.956Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"}],"cwes":["CWE-158"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T19:17:50.380771Z"}],"euvd":[{"id":"EUVD-2026-140403","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T16:57:01Z","modified":"2026-12-02T19:03:50Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-12-01T18:19:41.105618Z"}],"nvd":[{"id":"CVE-2026-140232","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T17:17:35.91Z","modified":"2026-12-02T20:20:37.32Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"}],"cwes":["CWE-158"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T20:26:13.686818Z"}],"osv":[{"id":"CVE-2026-140232","title":"node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator-Blind String Sanitization","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T16:57:01.738Z","modified":"2026-12-03T20:45:45.451594395Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-158"],"updated_at":"2026-12-02T21:28:42.350468Z"},{"id":"DEBIAN-CVE-2026-140232","upstream":["CVE-2026-140232"],"description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T17:17:35.91Z","modified":"2026-12-03T10:00:38.802634296Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"}],"updated_at":"2026-12-03T10:18:16.589039Z"},{"id":"CLSA-2026-1796209074","upstream":["CVE-2026-140118","CVE-2026-140119","CVE-2026-140230","CVE-2026-140232","CVE-2026-140233","CVE-2026-140234","CVE-2026-140235","CVE-2026-140236","CVE-2026-140237","CVE-2026-140238","CVE-2026-140239","CVE-2026-140240","CVE-2026-140241","CVE-2026-140242","CVE-2026-140243","CVE-2026-140244","CVE-2026-140245","CVE-2026-140246","CVE-2026-140247","CVE-2026-140248","CVE-2026-140249","CVE-2026-140250","CVE-2026-140251","CVE-2026-140252"],"title":"TuxCare security update for tar (24 CVEs)","description":"TuxCare rebuilt tar to address 24 CVEs. Fixed in 7.5.22-tuxcare.1.","status":"published","published":"2026-12-02T11:57:55Z","modified":"2026-12-04T19:45:08.891791393Z","updated_at":"2026-12-04T19:54:00.725358Z"},{"id":"CLSA-2026-1796224850","upstream":["CVE-2026-140118","CVE-2026-140119","CVE-2026-140230","CVE-2026-140232","CVE-2026-140233","CVE-2026-140234","CVE-2026-140235","CVE-2026-140236","CVE-2026-140237","CVE-2026-140238","CVE-2026-140239","CVE-2026-140240","CVE-2026-140241","CVE-2026-140242","CVE-2026-140243","CVE-2026-140244","CVE-2026-140245","CVE-2026-140246","CVE-2026-140247","CVE-2026-140248","CVE-2026-140249","CVE-2026-140250","CVE-2026-140251","CVE-2026-140252"],"title":"TuxCare security update for tar (24 CVEs)","description":"TuxCare rebuilt tar to address 24 CVEs. Fixed in 7.5.21-tuxcare.1.","status":"published","published":"2026-12-02T16:20:50Z","modified":"2026-12-02T21:45:15.760690069Z","updated_at":"2026-12-02T21:59:47.494138Z"},{"id":"UBUNTU-CVE-2026-140232","upstream":["CVE-2026-140232"],"description":"(node-tar is a tar archive manipulation library for Node.js. From 7.5.1 ...)","status":"published","published":"2026-12-02T00:00:00Z","modified":"2026-12-03T20:48:20.866207767Z","updated_at":"2026-12-03T21:13:04.052985Z"}]}}
