astral-tokio-tar Vulnerable to PAX Header Desynchronization
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 vulnerability was disclosed to multiple Rust tar parsers, all derived from the original async-tar fork of tar-rs. For additional information see [Edera's blog post](https://edera.dev/stories/tarmageddon).
- Products
- astral-tokio-tar
- Affected versions
- Not specified
- Fixed versions
- 0.5.6
- CVEs
- CVE-2025-62518
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 08:43 UTC · Revision 1
Source evidence
astral-tokio-tar Vulnerable to PAX Header Desynchronization
core-osv · Original sourcePublished 21 Oct 2025, 12:00 UTC
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 vulnerability was disclosed to multiple Rust tar parsers, all derived from the original async-tar fork of tar-rs. For additional information see [Edera's blog post](https://edera.dev/stories/tarmageddon).
osv:RUSTSEC-2025-0110
astral-tokio-tar
Fixed versions: 0.5.6
Complete source record
{
"id": "91dadbd7e007f36243ad61d51cc36d5b928662e3169124e6e0051d76d2040fdf",
"url": "https://osv.dev/vulnerability/RUSTSEC-2025-0110",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "astral-tokio-tar Vulnerable to PAX Header Desynchronization",
"summary": "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 vulnerability was disclosed to multiple Rust tar parsers, all derived from the original async-tar fork of tar-rs. For additional information see [Edera's blog post](https://edera.dev/stories/tarmageddon).",
"evidence": "osv:RUSTSEC-2025-0110",
"products": [
{
"name": {
"value": "astral-tokio-tar",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.5.6",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "RUSTSEC-2025-0110",
"aliases": [
"CVE-2025-62518",
"GHSA-j5gw-2vrg-8fgx",
"RUSTSEC-2025-0110",
"RUSTSEC-2025-0111"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.5.6"
}
]
}
],
"package": {
"name": "astral-tokio-tar",
"purl": "pkg:cargo/astral-tokio-tar",
"ecosystem": "crates.io"
},
"database_specific": {
"cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
"source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0110.json",
"categories": [
"format-injection"
],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [],
"arch": [],
"functions": []
},
"affected_functions": null
}
}
],
"modified": "2026-10-12T18:00:11.489562704Z",
"provider": "osv",
"references": [
"https://crates.io/crates/astral-tokio-tar",
"https://rustsec.org/advisories/RUSTSEC-2025-0110.html",
"https://github.com/astral-sh/tokio-tar/commit/22b3f884adb7a2adf1d3a8d03469533f5cbc8318"
],
"provider_metadata": {
"license": "CC0-1.0"
}
},
"related_cves": [
{
"value": "CVE-2025-62518",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 306414,
"published_at": "2025-10-21T12:00:00+00:00"
}