{"answers":{"affected":"6 open source packages ship an affected version, including astral-tokio-tar and tokio-tar.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62518 exists.","fix":"Upgrade astral-tokio-tar to 0.5.6 or later.","what":"CVE-2025-62518 is a high-severity vulnerability in astral-sh tokio-tar, published on 21 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-62518 and fix it if it is affected.\n\nWhat it is: CVE-2025-62518 is a high-severity vulnerability in astral-sh tokio-tar, published on 21 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62518 exists.\n\nAffected packages and fixed versions:\n- astral-tokio-tar (crates.io): affected all versions; fixed in 0.5.6\n- astral-tokio-tar (crates.io): affected all versions; fixed in 0.5.6\n- astral-tokio-tar (crates.io): affected from 0.0.0-0; fixed in 0.5.6\n- tokio-tar (crates.io): affected all versions up to 0.3.1; no fix listed\n- tokio-tar (crates.io): affected all versions up to 0.3.1; no fix listed\n- tokio-tar (crates.io): affected from 0.0.0-0; no fix listed\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-2025-62518/ (Markdown: https://insights.sbomify.com/CVE-2025-62518/index.md)","id":"CVE-2025-62518","markdown":"https://insights.sbomify.com/CVE-2025-62518/index.md","name":"CVE-2025-62518","record":{"aliases":["DEBIAN-CVE-2025-62518","GHSA-j5gw-2vrg-8fgx","MINI-7mwx-ghcw-68v7","RUSTSEC-2025-0110","RUSTSEC-2025-0111","UBUNTU-CVE-2025-62518","openSUSE-SU-2025:15658-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust tar library","requires_auth":"none","summary":"Attackers can smuggle archive entries by exploiting PAX header parsing flaws in the astral-tokio-tar Rust library, potentially leading to data exposure or logic errors.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"description":"astral-tokio-tar is a tar archive reading/writing library for async Rust. Versions of astral-tokio-tar prior to 0.5.6 contain a boundary parsing vulnerability that allows attackers to smuggle additional archive entries by exploiting inconsistent PAX/ustar header handling. When processing archives with PAX-extended headers containing size overrides, the parser incorrectly advances stream position based on ustar header size (often zero) instead of the PAX-specified size, causing it to interpret file content as legitimate tar headers. This issue has been patched in version 0.5.6. There are no workarounds.","ecosystems":["crates.io","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-08-21","github_poc":2,"max_poc_stars":19,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-21T16:03:36Z","kind":"github_poc","ref":"https://github.com/edera-dev/cve-tarmageddon","stars":19,"title":"CVE-2025-62518: TARmageddon"},{"date":"2026-01-19T19:54:49Z","kind":"github_poc","ref":"https://github.com/AirineiAndrei/Tarmageddon-CVE-2025-62518-","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"astral-tokio-tar Vulnerable to PAX Header Desynchronization","id":"CVE-2025-62518","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"other","year":"2025"},"n_packages":7,"n_references":5,"next":{"headline":"phpMyFAQ has Authenticated SQL Injection in Configuration Update Functionality","id":"CVE-2025-62519"},"packages":[{"ecosystem":"crates.io","fixed":["0.5.6"],"introduced":["0"],"last_affected":[],"package":"astral-tokio-tar","purl":null,"source":"GHSA-j5gw-2vrg-8fgx"},{"ecosystem":"crates.io","fixed":["0.5.6"],"introduced":["0"],"last_affected":[],"package":"astral-tokio-tar","purl":"pkg:cargo/astral-tokio-tar","source":"GHSA-j5gw-2vrg-8fgx"},{"ecosystem":"crates.io","fixed":["0.5.6"],"introduced":["0.0.0-0"],"last_affected":[],"package":"astral-tokio-tar","purl":"pkg:cargo/astral-tokio-tar","source":"RUSTSEC-2025-0110"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.3.1"],"package":"tokio-tar","purl":null,"source":"GHSA-j5gw-2vrg-8fgx"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.3.1"],"package":"tokio-tar","purl":"pkg:cargo/tokio-tar","source":"GHSA-j5gw-2vrg-8fgx"},{"ecosystem":"crates.io","fixed":[],"introduced":["0.0.0-0"],"last_affected":[],"package":"tokio-tar","purl":"pkg:cargo/tokio-tar","source":"RUSTSEC-2025-0111"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.9.5-1.1"],"introduced":["0"],"last_affected":[],"package":"python-uv","purl":"pkg:rpm/opensuse/python-uv\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15658-1"}],"prev":{"headline":"Rollbar.js Prototype Pollution Vulnerability in merge()","id":"CVE-2025-62517"},"products":["tokio-tar"],"published":"2025-10-21","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":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-22","vendors":["astral-sh"]},"summary":"Attackers can smuggle archive entries by exploiting PAX header parsing flaws in the astral-tokio-tar Rust library, potentially leading to data exposure or logic errors.","url":"https://insights.sbomify.com/CVE-2025-62518/"}