CVE-2025-13462: Vulnerability in Python Software Foundation CPython
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.
AI Analysis
Technical Summary
The vulnerability in CPython's tarfile module arises because it applies normalization of AREGTYPE (\x00) blocks to DIRTYPE even when processing multi-block members such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This behavior can lead to a crafted tar archive being interpreted differently by the tarfile module compared to other implementations, potentially causing unexpected behavior when handling such archives. The affected versions include CPython 0, 3.14.0, and 3.15.0a1. The CVSS 4.0 base score is 2.0, indicating low severity, with attack vector local, high attack complexity, and partial impact on integrity and availability.
Potential Impact
The impact is limited due to the low CVSS score of 2.0 and the requirement for local access with high attack complexity. The vulnerability may cause the tarfile module to misinterpret crafted tar archives, which could lead to incorrect processing of archive contents. There is no indication of remote exploitation or privilege escalation. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when processing untrusted tar archives with the tarfile module. No specific vendor mitigation or workaround information is currently available.
CVE-2025-13462: Vulnerability in Python Software Foundation CPython
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in CPython's tarfile module arises because it applies normalization of AREGTYPE (\x00) blocks to DIRTYPE even when processing multi-block members such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This behavior can lead to a crafted tar archive being interpreted differently by the tarfile module compared to other implementations, potentially causing unexpected behavior when handling such archives. The affected versions include CPython 0, 3.14.0, and 3.15.0a1. The CVSS 4.0 base score is 2.0, indicating low severity, with attack vector local, high attack complexity, and partial impact on integrity and availability.
Potential Impact
The impact is limited due to the low CVSS score of 2.0 and the requirement for local access with high attack complexity. The vulnerability may cause the tarfile module to misinterpret crafted tar archives, which could lead to incorrect processing of archive contents. There is no indication of remote exploitation or privilege escalation. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when processing untrusted tar archives with the tarfile module. No specific vendor mitigation or workaround information is currently available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PSF
- Date Reserved
- 2025-11-19T22:05:07.578Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69b302c82f860ef943d65de2
Added to database: 3/12/2026, 6:15:36 PM
Last enriched: 4/7/2026, 10:40:52 PM
Last updated: 4/28/2026, 6:35:10 AM
Views: 154
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.