PoC Monitor
← All CVEs
CVE-2025-62518published 21 Oct 2025 16:13 UTCData: JSON · API

Astral-sh tokio-tar

astral-tokio-tar Vulnerable to PAX Header Desynchronization

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.

First public PoC 90 daysafter publication · 19 Jan 2026
Public PoCs22 on GitHub
CVSS8.1high · scored by CNA · CWE-843
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

astral-sh tokio-tar
  • < 0.5.6

Fixed in 0.5.6

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70+84CVE published21 Oct 2025 · t = 0First public PoC19 Jan 2026 · t+90d

First public PoC 90 days after publication; not in CISA KEV. First PoC: AirineiAndrei/Tarmageddon-CVE-2025-62518- (created 19 Jan 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
edera-dev/cve-tarmageddon 21 Aug 2025 −61 d 19 PoC older repo: PoC date unknown, not used for the first PoC
AirineiAndrei/Tarmageddon-CVE-2025-62518- 19 Jan 2026 +90 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

GET /crates/{var}

Key headers
Accept: application/json
PoC User-Agent
reverse-deps-audit (contact: security@edera.dev)
Seen in
1 repo: edera-dev/cve-tarmageddon
Evidence
edera-dev/cve-tarmageddon/disclosure/blast_radius/find_reverse_deps.py:11

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /crates/{var}
(?i)^/crates/[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /crates/{var}
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-62518 astral-sh tokio-tar exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/crates/"; http.header; content:"Accept: application/json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-62518; classtype:web-application-attack; sid:9202753; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /crates/{var}
title: astral-sh tokio-tar exploit attempt (CVE-2025-62518)
id: gg-pocmon-cve-2025-62518-9202753
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-62518. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-62518
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/crates/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.62518