{
  "id": "CVE-2025-62518",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-62518",
  "published_at": "2025-10-21T16:13:02.646Z",
  "title": "astral-tokio-tar Vulnerable to PAX Header Desynchronization",
  "vendor": "astral-sh",
  "product": "tokio-tar",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-01-19T19:54:49Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 90.2,
    "repo": "AirineiAndrei/Tarmageddon-CVE-2025-62518-",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-843",
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [
    {
      "repo": "edera-dev/cve-tarmageddon",
      "url": "https://github.com/edera-dev/cve-tarmageddon",
      "created_at": "2025-08-21T16:03:36Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 19,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-12-16T08:25:59Z"
    },
    {
      "repo": "AirineiAndrei/Tarmageddon-CVE-2025-62518-",
      "url": "https://github.com/AirineiAndrei/Tarmageddon-CVE-2025-62518-",
      "created_at": "2026-01-19T19:54:49Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-11-07T13:57:22Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "astral-sh",
        "product": "tokio-tar",
        "ranges": [
          "\u003c 0.5.6"
        ],
        "fixed_in": [
          "0.5.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade tokio-tar to 0.5.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-j5gw-2vrg-8fgx"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/astral-sh/uv/security/advisories/GHSA-w476-p2h3-79g9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/astral-sh/tokio-tar/commit/22b3f884adb7a2adf1d3a8d03469533f5cbc8318"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/crates/{var}",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "user_agents": [
        "reverse-deps-audit (contact: security@edera.dev)"
      ],
      "protocol": "https",
      "repos": [
        "edera-dev/cve-tarmageddon"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "edera-dev/cve-tarmageddon/disclosure/blast_radius/find_reverse_deps.py:11"
      ]
    }
  ],
  "rules": []
}
