{"answers":{"affected":"2 open source packages ship an affected version, including tar. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59873 exists.","fix":"Upgrade tar to 7.5.19 or later.","what":"CVE-2026-59873 is a critical denial of service vulnerability in isaacs node-tar, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-59873 and fix it if it is affected.\n\nWhat it is: CVE-2026-59873 is a critical denial of service vulnerability in isaacs node-tar, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59873 exists.\n\nAffected packages and fixed versions:\n- tar (npm): affected all versions; fixed in 7.5.19\n- tar (npm): affected all versions; fixed in 7.5.19\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-59873/ (Markdown: https://insights.sbomify.com/CVE-2026-59873/index.md)","id":"CVE-2026-59873","markdown":"https://insights.sbomify.com/CVE-2026-59873/index.md","name":"CVE-2026-59873","record":{"aliases":["CLEANSTART-2026-HG84395","CLEANSTART-2026-KX94176","CLEANSTART-2026-OH51189","CLSA-2026-1793109968","DEBIAN-CVE-2026-59873","ECHO-c7c8-7028-c3fc","GHSA-23hp-3jrh-7fpw","MINI-2cfh-9fh7-c5x4","MINI-3fxc-76jf-5px8","MINI-4f6w-vqrj-f9v7","MINI-4hgm-528m-327r","MINI-5qmq-733j-gh5p","MINI-6xvg-57c7-x3f9","MINI-754h-j532-wwph","MINI-7578-cw8c-5m6m","MINI-77w6-pj2c-x9xv","MINI-7983-6wg6-rg87","MINI-8hm4-vf33-642c","MINI-8rcw-f3q7-hr93","MINI-93mm-6wp9-f8mp","MINI-c22h-cfhv-mcw8","MINI-cw53-ww98-g9rp","MINI-f7qp-f3j4-wpjc","MINI-f824-6c9q-cqrw","MINI-fm72-jcm4-fqw6","MINI-fx24-gf93-fwp5","MINI-gf48-262h-5fxx","MINI-hhwf-x5v2-77jh","MINI-jjw6-xq44-fjr2","MINI-jpr6-69qw-hf2f","MINI-jvmp-7hrx-frrq","MINI-m3p2-9rfg-pwg6","MINI-m64c-r7cm-wrc7","MINI-p76f-x4c5-rvjw","MINI-pj3w-3jgw-v44w","MINI-q5j2-v3qx-v7g4","MINI-qhvq-fxqf-593f","MINI-r3w6-g3fc-rwr9","MINI-r4p8-jv89-f6xv","MINI-rqq4-x26q-5w98","MINI-v2gh-pq59-qrfx","MINI-v5g9-vcfr-52rr","MINI-vf2m-2xmf-2f9p","MINI-vjqc-f342-2hqv","MINI-vvcv-w788-mq9f","MINI-wp5w-vv76-wqj6","MINI-wqwj-x593-gm68","ROOT-APP-NPM-CVE-2026-59873","UBUNTU-CVE-2026-59873"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js tar library","requires_auth":"none","summary":"Attackers can cause denial of service by exhausting disk space and CPU using crafted gzip bombs in the node-tar library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tar","vendor":"isaacs"}],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.19, node-tar does not enforce hard upper bounds on total decompressed data, entry counts, or decompression ratio in extraction and parsing paths such as src/extract.ts, allowing a small crafted gzip bomb to exhaust disk space and CPU. This issue is fixed in version 7.5.19.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"node-tar: Decompression/parse DoS via unlimited input","id":"CVE-2026-59873","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"node-tar: Negative tar entry size causes infinite loop in archive replace","id":"CVE-2026-59874"},"packages":[{"ecosystem":"npm","fixed":["7.5.19"],"introduced":["0"],"last_affected":[],"package":"tar","purl":null,"source":"GHSA-23hp-3jrh-7fpw"},{"ecosystem":"npm","fixed":["7.5.19"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:npm/tar","source":"GHSA-23hp-3jrh-7fpw"}],"prev":{"headline":"node-tar: Process crash via PAX numeric path type confusion","id":"CVE-2026-59871"},"products":["node-tar"],"published":"2026-07-08","related":[{"cvss_score":8.8,"headline":"node-tar has Race Condition in Path Reservations via Unicode Ligature Collisions on macOS APFS","id":"CVE-2026-23950","kev_date_added":null,"published":"2026-01-20"},{"cvss_score":8.7,"headline":"node-tar: Negative tar entry size causes infinite loop in archive replace","id":"CVE-2026-59874","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":8.2,"headline":"node-tar Symlink Path Traversal via Drive-Relative Linkpath","id":"CVE-2026-31802","kev_date_added":null,"published":"2026-03-09"},{"cvss_score":8.2,"headline":"node-tar: Hardlink Path Traversal via Drive-Relative Linkpath","id":"CVE-2026-29786","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":8.2,"headline":"node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal","id":"CVE-2026-24842","kev_date_added":null,"published":"2026-01-28"},{"cvss_score":8.2,"headline":"node-tar Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization","id":"CVE-2026-23745","kev_date_added":null,"published":"2026-01-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-08","vendors":["isaacs"]},"summary":"Attackers can cause denial of service by exhausting disk space and CPU using crafted gzip bombs in the node-tar library.","url":"https://insights.sbomify.com/CVE-2026-59873/"}