CVE-2025-62518
A public proof of concept exists; no exploitation attested.
- Published2025-10-21
- WeaknessCWE-843
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-10-2117:15CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.0+ | ≥ 0.0.0-0 | no fix published | OSV |
| 0.3 | ≤ 0.3.1 | no fix published | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.x | ≥ 0.0.0-0, < 0.5.6 | 0.5.6 | OSV |
| 0.5 | < 0.5.6 | 0.5.6 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- astral-sh tokio-tarAffected
- = < 0.5.6no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-10-21
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- pixiWolfiall versions · fixed in 0.57.0-r1and 1 other package
- pixiChainguardall versions · fixed in 0.57.0-r1and 1 other package
- py3.10-uv-buildMinimOSall versions · fixed in 0.9.5-r0and 12 other packages
- python-uvSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 0.7.18-160000.3.1
- python-uvSUSE:Linux Enterprise Server 16.0all versions · fixed in 0.7.18-160000.3.1
- python-uvopenSUSE:Tumbleweedall versions · fixed in 0.9.5-1.1
- python-uvopenSUSE:Leap 16.0all versions · fixed in 0.7.18-160000.3.1
- rust-astral-tokio-tarUbuntu:26.04:LTSall versions · no fixed version listed
6 more package ranges on OSV.dev
Vendor advisories
astral-tokio-tar: astral-tokio-tar Vulnerable to PAX Header Desynchronization
openshift-sandboxed-containers/osc-podvm-builder-rhel9 as a component of Confidential Compute Attestation · openshift-sandboxed-containers/osc-podvm-payload-rhel9 as a component of Confidential Compute Attestation · openshift-sandboxed-containers/osc-rhel9-operator as a component of Confidential Compute Attestation · +2 more
Fix
- Workaround from the vendor Red Hat Product Security CVE-2025-62518 · 5 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix available, says the vendor Red Hat Product Security CVE-2025-62518 · 3 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2025-62518 · 2 productsWill not fix
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-10-22
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01edera-dev/cve-tarmageddonAirineiAndrei/Tarmageddon-CVE-2025-62518-
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2025-10-22
- CNACVSS 3.18.1known since 2026-10-23
- CNAweakness (CWE)CWE-843known since 2026-10-23
- FIRST EPSSEPSS score0.7 %2026-11-08
- PoC-in-GitHubproof of concept2known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2025-10-21
Identifiers
- CGA-2cvf-w9jp-65vrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fmqj-wm5m-qvr8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-frcv-9vpg-7m35same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j7px-vxgw-5mg6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jpvj-7rxw-8265same flawChainguard · CC-BY-NC-ND-4.0
- CGA-w7hp-c4fv-m64rsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2025-35176same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-j5gw-2vrg-8fgxsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-7mwx-ghcw-68v7same flawMinimOS · LicenseRef-unstated
- RUSTSEC-2025-0110same flawRustSec · CC0-1.0
- RUSTSEC-2025-0111same flawRustSec · CC0-1.0
- openSUSE-SU-2025:15658-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:12355-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20026-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2026:20077-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Published
- 2025-10-21
- Last Modified
- 2026-10-08
- NVD status
- Deferred
- GitHub Advisory
- GHSA-j5gw-2vrg-8fgx
Frequently asked questions
What is CVE-2025-62518?
Is CVE-2025-62518 actively exploited?
What is the CVSS score for CVE-2025-62518?
Running tokio-tar? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-j5gw-2vrg-8fgx
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0