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.
Configurations

No configuration.

History

08 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) astral-tokio-tar es una biblioteca de lectura/escritura de archivos tar para Rust asíncrono. Las versiones de astral-tokio-tar anteriores a la 0.5.6 contienen una vulnerabilidad de análisis de límites que permite a los atacantes introducir entradas de archivo adicionales explotando un manejo inconsistente de las cabeceras PAX/ustar. Al procesar archivos con cabeceras PAX extendidas que contienen anulaciones de tamaño, el analizador avanza incorrectamente la posición del flujo basándose en el tamaño de la cabecera ustar (a menudo cero) en lugar del tamaño especificado por PAX, lo que hace que interprete el contenido del archivo como cabeceras tar legítimas. Este problema ha sido parcheado en la versión 0.5.6. No hay soluciones alternativas.

21 Oct 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-10-21 17:15

Updated : 2026-10-08 11:10


NVD link : CVE-2025-62518

Mitre link : CVE-2025-62518

CVE.ORG link : CVE-2025-62518


JSON object : View

Products Affected

No product.

CWE
CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')