{"answers":{"affected":"2 open source packages ship an affected version, including tar.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59875 exists.","fix":"Upgrade tar to 7.5.17 or later.","what":"CVE-2026-59875 is a medium-severity 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-59875 and fix it if it is affected.\n\nWhat it is: CVE-2026-59875 is a medium-severity 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-59875 exists.\n\nAffected packages and fixed versions:\n- tar (npm): affected all versions; fixed in 7.5.17\n- tar (npm): affected all versions; fixed in 7.5.17\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-59875/ (Markdown: https://insights.sbomify.com/CVE-2026-59875/index.md)","id":"CVE-2026-59875","markdown":"https://insights.sbomify.com/CVE-2026-59875/index.md","name":"CVE-2026-59875","record":{"aliases":["CLEANSTART-2026-JI77146","CLEANSTART-2026-UE74978","CLEANSTART-2026-XE70573","DEBIAN-CVE-2026-59875","ECHO-717c-df78-ae50","GHSA-gvwx-54wh-qm9j","MINI-2hff-grhg-gq8x","MINI-3h53-2x5w-4hf4","MINI-3hpf-hrh5-x92f","MINI-3x32-2w5v-cmrp","MINI-4q5r-66p4-ppr3","MINI-53f6-rmrr-mq96","MINI-6g27-5648-mvh3","MINI-6mgx-j436-6g96","MINI-74h5-xg73-4phf","MINI-7qvv-wgxm-5r5g","MINI-7vpr-4j97-7w7j","MINI-9mpq-pj96-2f7r","MINI-9q45-8983-9w6q","MINI-c276-rw7j-5xwf","MINI-cmr3-hrm6-c883","MINI-f4g4-8hrm-9q5v","MINI-fgrf-792q-8rq5","MINI-fh6c-m696-4g2q","MINI-fq8p-fgjf-f7vx","MINI-hv35-f2x7-6x6g","MINI-j3cf-jr77-qfhm","MINI-jw5q-6x7v-3pv7","MINI-m45w-pw8c-wwm5","MINI-q83w-cvjh-g5cc","MINI-vcfp-5p49-cc78","MINI-vjwv-9pxj-5f4x","MINI-wc8r-c6r4-hh48","MINI-wfc8-mx5f-7hrr","MINI-wq4r-xp6c-q89w","MINI-wwfj-mp6x-6m5j","MINI-x5m2-794c-7vr3","ROOT-APP-NPM-CVE-2026-59875","UBUNTU-CVE-2026-59875"],"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":"A crafted tar archive with NUL bytes in PAX records causes an uncaught exception, crashing the application using the node-tar library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"description":"node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.17, node-tar does not strip NUL bytes from PAX path and linkpath records in src/pax.ts, allowing a crafted archive with values to reach fs.lstat or fs.open and terminate the process with an uncaught exception. This issue is fixed in version 7.5.17.","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: Uncaught Exception DoS via NUL byte in PAX path/linkpath records","id":"CVE-2026-59875","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":"protobufjs: Text Format string map parsing can mutate returned map object prototype","id":"CVE-2026-59876"},"packages":[{"ecosystem":"npm","fixed":["7.5.17"],"introduced":["0"],"last_affected":[],"package":"tar","purl":null,"source":"GHSA-gvwx-54wh-qm9j"},{"ecosystem":"npm","fixed":["7.5.17"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:npm/tar","source":"GHSA-gvwx-54wh-qm9j"}],"prev":{"headline":"node-tar: Negative tar entry size causes infinite loop in archive replace","id":"CVE-2026-59874"},"products":["node-tar"],"published":"2026-07-08","related":[],"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":"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-09","vendors":["isaacs"]},"summary":"A crafted tar archive with NUL bytes in PAX records causes an uncaught exception, crashing the application using the node-tar library.","url":"https://insights.sbomify.com/CVE-2026-59875/"}