{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-62518","id":"CVE-2025-62518","title":"astral-tokio-tar Vulnerable to PAX Header Desynchronization","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 b","descriptionLong":"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.","published":"2025-10-21T16:13:02.646Z","updated":"2026-10-31T18:12:01.666054175Z","reserved":"2025-10-15T15:03:28.134Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["astral-sh tokio-tar"],"affectedProducts":[{"vendor":"astral-sh","product":"tokio-tar","defaultStatus":null,"versions":[{"version":"< 0.5.6","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"astral-tokio-tar","purl":"pkg:cargo/astral-tokio-tar","ranges":["<0.5.6",">=0.0.0-0 <0.5.6"],"fixed":["0.5.6"],"advisory":"GHSA-j5gw-2vrg-8fgx"},{"ecosystem":"crates.io","name":"tokio-tar","purl":"pkg:cargo/tokio-tar","ranges":["<=0.3.1",">=0.0.0-0"],"fixed":[],"advisory":"GHSA-j5gw-2vrg-8fgx"}],"cwes":["CWE-843"],"aliases":["GHSA-j5gw-2vrg-8fgx","RUSTSEC-2025-0110","RUSTSEC-2025-0111"],"references":[{"url":"https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-j5gw-2vrg-8fgx","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/astral-sh/uv/security/advisories/GHSA-w476-p2h3-79g9","tags":["x_refsource_MISC","advisory","web"]},{"url":"https://github.com/astral-sh/tokio-tar/commit/22b3f884adb7a2adf1d3a8d03469533f5cbc8318","tags":["x_refsource_MISC","fix","web"]},{"url":"https://edera.dev/stories/tarmageddon","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/edera-dev/cve-tarmageddon","tags":["x_refsource_MISC","package","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62518.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62518","tags":["advisory"]},{"url":"https://github.com/astral-sh/tokio-tar","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0110.html","tags":["web","advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0111.html","tags":["web","advisory"]},{"url":"https://crates.io/crates/astral-tokio-tar","tags":["package"]},{"url":"https://crates.io/crates/tokio-tar","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00703,"epssPercentile":0.54038,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-62518","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62518","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-62518","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j5gw-2vrg-8fgx","ok":true,"note":"GHSA-j5gw-2vrg-8fgx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-62518","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}