CVE-2025-13462
Analyzed
Analyzed - Analysis Complete
Tarfile Module Normalization Flaw Causes Archive Misinterpretation
Publication date: 2026-03-12
Last updated on: 2026-06-11
Assigner: Python Software Foundation
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| python | python | 3.15.0 |
| python | python | 3.15.0 |
| python | python | to 3.13.13 (exc) |
| python | python | From 3.14.0 (inc) to 3.14.4 (exc) |
| python | python | 3.15.0 |
| python | python | 3.15.0 |
| python | python | 3.15.0 |
| python | python | 3.15.0 |
| python | python | 3.15.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-434 | The product allows the upload or transfer of dangerous file types that are automatically processed within its environment. |
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
| CWE-20 | The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. |