Skip to content
Heist/ feed
Back to feed
HighFix available

rust-astral-tokio-tar — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-62518

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.

Products
rust-astral-tokio-tar
Affected versions
0.5.2-2, 0.5.5-1, 0.5.6-1, 0.5.6-2, 0.6.0-1, 0.6.1-1, 0.6.2-1, 0.6.4-1
Fixed versions
0.5.6-1
CVEs
CVE-2025-62518
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 11:09 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-62518

core-osv · Original source

Published 21 Oct 2025, 17:15 UTC

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.

osv:DEBIAN-CVE-2025-62518

rust-astral-tokio-tar

Fixed versions: Not specified

rust-astral-tokio-tar

Fixed versions: 0.5.6-1

Complete source record
{
  "id": "5aad99a5a955bcce2896249c75d39747303fb6a882d878064e5a96b6079ef672",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-62518",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-62518",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2025-62518",
    "products": [
      {
        "name": {
          "value": "rust-astral-tokio-tar",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.5.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.5.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.5.6-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.4-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-astral-tokio-tar",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.5.6-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.5.2-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.5.5-1",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2025-62518",
      "aliases": [
        "DEBIAN-CVE-2025-62518"
      ],
      "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": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-astral-tokio-tar",
            "purl": "pkg:deb/debian/rust-astral-tokio-tar?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "0.5.2-2",
            "0.5.5-1",
            "0.5.6-1",
            "0.5.6-2",
            "0.6.0-1",
            "0.6.1-1",
            "0.6.2-1",
            "0.6.4-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-62518.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.5.6-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-astral-tokio-tar",
            "purl": "pkg:deb/debian/rust-astral-tokio-tar?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "0.5.2-2",
            "0.5.5-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-62518.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-09T09:47:36.316180913Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-62518"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-62518"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-62518",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 111707,
  "published_at": "2025-10-21T17:15:40.563+00:00"
}