CVE-2025-13462 Details
Description
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.
A vulnerability exists in the Python tarfile module's handling of certain tar archive types. When processing multi-block members encoded with GNU long name or long link types, the module incorrectly normalizes AREGTYPE blocks to DIRTYPE. This misinterpretation can lead to errors, such as skipping necessary updates to the TarInfo entry type, which may cause subsequent read operations to fail. The issue has been observed in Python versions 3.9 through 3.14 on both macOS and Linux.
Users can update to the latest version of Python, where this vulnerability has been addressed. Instructions for updating Python can be found in the Python documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | CISA-ADP |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | CISA-ADP |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| python python | < 3.13.13 >= 3.14.0, < 3.14.4 3.15.0 alpha1 3.15.0 alpha2 3.15.0 alpha3 3.15.0 alpha4 3.15.0 alpha5 3.15.0 alpha6 3.15.0 alpha7 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 13, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 11, 2026 | Reanalysis | [email protected] |
| Jun 5, 2026 | Initial Analysis | [email protected] |
| Jun 4, 2026 | CVE Modified | [email protected] |
| May 1, 2026 | CVE Modified | [email protected] |
| Mar 19, 2026 | CVE Modified | [email protected] |
| Mar 13, 2026 | CVE Modified | [email protected] |
| Mar 12, 2026 | CVE Modified | CISA-ADP |
| Mar 12, 2026 | New CVE Received | [email protected] |