{"id":"UBUNTU-CVE-2025-62518","details":"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.","modified":"2026-05-20T16:23:39.995392086Z","published":"2025-10-21T17:15:00Z","upstream":["CVE-2025-62518"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-62518"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-62518"},{"type":"REPORT","url":"https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-j5gw-2vrg-8fgx"},{"type":"REPORT","url":"https://github.com/astral-sh/tokio-tar/commit/22b3f884adb7a2adf1d3a8d03469533f5cbc8318"},{"type":"REPORT","url":"https://edera.dev/stories/tarmageddon"},{"type":"REPORT","url":"https://github.com/edera-dev/cve-tarmageddon"},{"type":"REPORT","url":"https://github.com/astral-sh/tokio-tar/commit/22b3f884adb7a2adf1d3a8d03469533f5cbc8318"},{"type":"REPORT","url":"https://github.com/astral-sh/uv/security/advisories/GHSA-w476-p2h3-79g9"}],"affected":[{"package":{"name":"rust-astral-tokio-tar","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.1-1","0.5.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-astral-tokio-tar-dev","binary_version":"0.5.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62518.json"}},{"package":{"name":"rust-astral-tokio-tar","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-2","0.5.5-1","0.5.6-1","0.5.6-2"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-astral-tokio-tar-dev","binary_version":"0.5.6-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62518.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}