CVE-2025-13462

published 12 Mar 2026 · updated 16 Nov 2026

tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling

2.0LowCVSS 2.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.10.21, 3.11.16, 3.12.14 and 3 more.

The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<3.10.21, >=3.11.0 <3.11.16, >=3.12.0 <3.12.14, >=3.13.0 <3.13.13, >=3.14.0 <3.14.4, >=3.15.0a1 <3.15.0a83.10.21, 3.11.16, 3.12.14, 3.13.13, 3.14.4, 3.15.0a8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-13462 severity on Zeptric[![CVE-2025-13462](https://zeptric.io/badge/cve/CVE-2025-13462.svg)](https://zeptric.io/cve/CVE-2025-13462)