---
title: "CVE-2025-62518"
canonical_url: "https://pkgseek.com/security/CVE-2025-62518"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# 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 wor…

CVE-2025-62518 is rated HIGH (8.1), with 159 indexed affected package builds across 2 distributions.

- **Severity / Score**: HIGH (8.1)
- **Affected builds**: 159
- **Affected distros**: 2
- **Distros with fixed_in**: Fedora

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | librust-astral-tokio-tar-dev | 0.5.2-2 | — |
| Fedora | 42 | python3-uv | 0.6.2-1.fc42 | 0.9.5-1.fc42 |
| Fedora | 42 | ruff | 0.11.0-1.fc42 | 0.14.2-1.fc42 |
| Fedora | 42 | rust-astral-tokio-tar+default-devel | 0.5.2-1.fc42 | 0.5.6-1.fc42 |
| Fedora | 42 | rust-astral-tokio-tar-devel | 0.5.2-1.fc42 | 0.5.6-1.fc42 |
| Fedora | 42 | rust-astral-tokio-tar+xattr-devel | 0.5.2-1.fc42 | 0.5.6-1.fc42 |
| Fedora | 42 | uv | 0.6.2-1.fc42 | 0.9.5-1.fc42 |
| Fedora | 43 | fastapi-cli | 0.0.13-1.fc43 | 0.0.14-1.fc43 |
| Fedora | 43 | fastapi-cli-slim | 0.0.13-1.fc43 | 0.0.14-1.fc43 |
| Fedora | 43 | fastapi-cli-slim+standard | 0.0.13-1.fc43 | 0.0.14-1.fc43 |
| Fedora | 43 | fastapi-cli-slim+standard-no-fastapi-cloud-cli | 0.0.13-1.fc43 | 0.0.14-1.fc43 |
| Fedora | 43 | fastapi-cli+standard | 0.0.13-1.fc43 | 0.0.14-1.fc43 |
| Fedora | 43 | fastapi-cli+standard-no-fastapi-cloud-cli | 0.0.13-1.fc43 | 0.0.14-1.fc43 |
| Fedora | 43 | fastapi-cloud-cli | 0.2.0-3.fc43 | 0.3.1-1.fc43 |
| Fedora | 43 | fastapi-cloud-cli+standard | 0.2.0-3.fc43 | 0.3.1-1.fc43 |
| Fedora | 43 | gherkin-c-devel | 35.1.0-1.fc43 | 35.1.0-2.fc43 |
| Fedora | 43 | gherkin-c-libs | 35.1.0-1.fc43 | 35.1.0-2.fc43 |
| Fedora | 43 | gherkin-cpp-devel | 35.1.0-1.fc43 | 35.1.0-2.fc43 |
| Fedora | 43 | gherkin-cpp-libs | 35.1.0-1.fc43 | 35.1.0-2.fc43 |
| Fedora | 43 | gherkin-cpp-tools | 35.1.0-1.fc43 | 35.1.0-2.fc43 |
| Fedora | 43 | gherkin-data | 35.1.0-1.fc43 | 35.1.0-2.fc43 |
| Fedora | 43 | maturin | 1.8.7-3.fc43 | 1.9.6-1.fc43 |
| Fedora | 43 | openapi-python-client | 0.26.0-5.fc43 | 0.26.2-4.fc43 |
| Fedora | 43 | platformio | 6.1.18-6.fc43 | 6.1.18-7.fc43 |
| Fedora | 43 | python3-fastapi | 0.117.1-1.fc43 | 0.120.1-1.fc43 |
| Fedora | 43 | python3-fastapi+all | 0.117.1-1.fc43 | 0.120.1-1.fc43 |
| Fedora | 43 | python3-fastapi-slim | 0.117.1-1.fc43 | 0.120.1-1.fc43 |
| Fedora | 43 | python3-fastapi-slim+all | 0.117.1-1.fc43 | 0.120.1-1.fc43 |
| Fedora | 43 | python3-fastapi-slim+standard | 0.117.1-1.fc43 | 0.120.1-1.fc43 |
| Fedora | 43 | python3-fastapi-slim+standard-no-fastapi-cloud-cli | 0.117.1-1.fc43 | 0.120.1-1.fc43 |
| Fedora | 43 | python3-gherkin-official | 35.1.0-1.fc43 | 35.1.0-2.fc43 |
| Fedora | 43 | python3-inline-snapshot | 0.29.1-1.fc43 | 0.30.1-1.fc43 |
| Fedora | 43 | python3-inline-snapshot+black | 0.29.1-1.fc43 | 0.30.1-1.fc43 |
| Fedora | 43 | python3-inline-snapshot+dirty-equals | 0.29.1-1.fc43 | 0.30.1-1.fc43 |
| Fedora | 43 | python3-jiter | 0.10.0-5.fc43 | 0.11.1-1.fc43 |
| Fedora | 43 | python3-openapi-core | 0.19.5-8.fc43 | 0.19.5-9.fc43 |
| Fedora | 43 | python3-openapi-core+aiohttp | 0.19.5-8.fc43 | 0.19.5-9.fc43 |
| Fedora | 43 | python3-openapi-core+django | 0.19.5-8.fc43 | 0.19.5-9.fc43 |
| Fedora | 43 | python3-openapi-core+falcon | 0.19.5-8.fc43 | 0.19.5-9.fc43 |
| Fedora | 43 | python3-openapi-core+fastapi | 0.19.5-8.fc43 | 0.19.5-9.fc43 |
| Fedora | 43 | python3-openapi-core+flask | 0.19.5-8.fc43 | 0.19.5-9.fc43 |
| Fedora | 43 | python3-openapi-core+requests | 0.19.5-8.fc43 | 0.19.5-9.fc43 |
| Fedora | 43 | python3-openapi-core+starlette | 0.19.5-8.fc43 | 0.19.5-9.fc43 |
| Fedora | 43 | python3-platformio | 6.1.18-6.fc43 | 6.1.18-7.fc43 |
| Fedora | 43 | python3-pydantic | 2.12.0~a1-3.fc43 | 2.12.3-1.fc43 |
| Fedora | 43 | python3-pydantic-core | 2.37.2-3.fc43 | 2.41.4-1.fc43 |
| Fedora | 43 | python3-pydantic+email | 2.12.0~a1-3.fc43 | 2.12.3-1.fc43 |
| Fedora | 43 | python3-pydantic-extra-types | 2.10.5-6.fc43 | 2.10.6-2.fc43 |
| Fedora | 43 | python3-pydantic-extra-types+pendulum | 2.10.5-6.fc43 | 2.10.6-2.fc43 |
| Fedora | 43 | python3-pydantic-extra-types+phonenumbers | 2.10.5-6.fc43 | 2.10.6-2.fc43 |
| Fedora | 43 | python3-pydantic-extra-types+pycountry | 2.10.5-6.fc43 | 2.10.6-2.fc43 |
| Fedora | 43 | python3-pydantic-extra-types+python_ulid | 2.10.5-6.fc43 | 2.10.6-2.fc43 |
| Fedora | 43 | python3-pydantic-extra-types+semver | 2.10.5-6.fc43 | 2.10.6-2.fc43 |
| Fedora | 43 | python3-pydantic+timezone | 2.12.0~a1-3.fc43 | 2.12.3-1.fc43 |
| Fedora | 43 | python3-rignore | 0.6.4-2.fc43 | 0.7.1-1.fc43 |
| Fedora | 43 | python3-ruff | 0.11.13-4.fc43 | 0.14.2-1.fc43 |
| Fedora | 43 | python3-starlette | 0.48.0-2.fc43 | 0.49.1-1.fc43 |
| Fedora | 43 | python3-starlette+full | 0.48.0-2.fc43 | 0.49.1-1.fc43 |
| Fedora | 43 | python3-typer | 0.19.2-1.fc43 | 0.20.0-1.fc43 |
| Fedora | 43 | python3-typer-cli | 0.19.2-1.fc43 | 0.20.0-1.fc43 |
| Fedora | 43 | python3-typer-slim | 0.19.2-1.fc43 | 0.20.0-1.fc43 |
| Fedora | 43 | python3-typer-slim+standard | 0.19.2-1.fc43 | 0.20.0-1.fc43 |
| Fedora | 43 | python3-typing-inspection | 0.4.1-5.fc43 | 0.4.2-1.fc43 |
| Fedora | 43 | python3-uv | 0.8.11-4.fc43 | 0.9.5-1.fc43 |
| Fedora | 43 | python3-uv-build | 0.8.11-3.fc43 | 0.9.5-1.fc43 |
| Fedora | 43 | python-pydantic-doc | 2.12.0~a1-3.fc43 | 2.12.3-1.fc43 |
| Fedora | 43 | ruff | 0.11.13-4.fc43 | 0.14.2-1.fc43 |
| Fedora | 43 | rust-astral-tokio-tar+default-devel | 0.5.5-1.fc43 | 0.5.6-1.fc43 |
| Fedora | 43 | rust-astral-tokio-tar-devel | 0.5.5-1.fc43 | 0.5.6-1.fc43 |
| Fedora | 43 | rust-astral-tokio-tar+xattr-devel | 0.5.5-1.fc43 | 0.5.6-1.fc43 |
| Fedora | 43 | rust-jiter+default-devel | 0.11.0-1.fc43 | 0.11.1-1.fc43 |
| Fedora | 43 | rust-jiter-devel | 0.11.0-1.fc43 | 0.11.1-1.fc43 |
| Fedora | 43 | rust-jiter+num-bigint-devel | 0.11.0-1.fc43 | 0.11.1-1.fc43 |
| Fedora | 43 | rust-jiter+python-devel | 0.11.0-1.fc43 | 0.11.1-1.fc43 |
| Fedora | 43 | rust-regex-automata+alloc-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+default-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+dfa-build-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+dfa-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+dfa-onepass-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+dfa-search-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+hybrid-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+internal-instrument-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+internal-instrument-pikevm-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+logging-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+meta-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+nfa-backtrack-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+nfa-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+nfa-pikevm-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+nfa-thompson-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+perf-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+perf-inline-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+perf-literal-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+perf-literal-multisubstring-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+perf-literal-substring-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+std-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+syntax-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+unicode-age-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+unicode-bool-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |
| Fedora | 43 | rust-regex-automata+unicode-case-devel | 0.4.10-1.fc43 | 0.4.11-1.fc43 |

_Showing 100 of 159 total affected builds._
