CVE-2025-13462
published 2026-03-12CVE-2025-13462: The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME…
PriorityP412low3.3CVSS 3.1
AVLACLPRLUINSUCNILAN
EPSS
0.16%
6.0th percentile
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
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | python2.7 | < python3.14 3.14.3-4 (sid) | python3.14 3.14.3-4 (sid) |
| debian | python3.11 | < python3.14 3.14.3-4 (sid) | python3.14 3.14.3-4 (sid) |
| debian | python3.13 | < python3.14 3.14.3-4 (sid) | python3.14 3.14.3-4 (sid) |
| debian | python3.14 | < python3.14 3.14.3-4 (sid) | python3.14 3.14.3-4 (sid) |
| debian | python3.9 | < python3.14 3.14.3-4 (sid) | python3.14 3.14.3-4 (sid) |
| msrc | azl3_python3_3.12.9-9_on_azure_linux_3.0 | — | — |
| msrc | azl3_tensorflow_2.16.1-11_on_azure_linux_3.0 | — | — |
| msrc | cbl2_python3_3.9.19-19_on_cbl_mariner_2.0 | — | — |
| python | python | < 3.13.13 | 3.13.13 |
| python | python | — | — |
| python | python | — | — |
| python | python | — | — |
| python | python | — | — |
| python | python | — | — |
| python | python | — | — |
| python | python | — | — |
| python | python | >= 3.14.0 < 3.14.4 | 3.14.4 |
| python_software_foundation | cpython | < 3.13.13 | 3.13.13 |
| python_software_foundation | cpython | >= 3.14.0 < 3.14.4 | 3.14.4 |
| python_software_foundation | cpython | >= 3.15.0a1 < 3.15.0a8 | 3.15.0a8 |
| ubuntu | python3.10 | — | — |
| ubuntu | python3.12 | — | — |
| ubuntu | python3.14 | — | — |
CVSS provenance
nvdv3.13.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
nvdv4.02.0LOWCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
osv2.0LOW
vendor_ubuntu3.3LOW
vendor_debian2.0LOW
vendor_msrc2.0LOW
vendor_redhat2.0LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Python vulnerabilities
vendor_ubuntu·2026-07-06·CVSS 3.3
CVE-2026-9669 [LOW] Python vulnerabilities
Title: Python vulnerabilities
Summary: Several security issues were fixed in Python.
It was discovered that Python incorrectly normalized paths in the tarfile
module. An attacker could possibly use this issue to bypass path
restrictions. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04
LTS. (CVE-2025-13462)
It was discovered that Python's HTMLParser incorrectly handled certain
malformed HTML input. An attacker could possibly use this issue to cause
Python to crash, resulting in a denial of service. This issue only affected
Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-69534)
It was discovered that Python's email module incorrectly quoted newlines
in headers. An attacker could possibly use this issue to inject arbitrary
email headers. This issue only affected Ubuntu 22.04 L
Red Hat
cpython: cpython: `tarfile` module misinterprets crafted tar archives leading to data integrity issues
vendor_redhat·2026-03-12·CVSS 2.0
CVE-2025-13462 [LOW] CWE-237 cpython: cpython: `tarfile` module misinterprets crafted tar archives leading to data integrity issues
cpython: cpython: `tarfile` module misinterprets crafted tar archives leading to data integrity issues
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 flaw was found in the `tarfile` module of cpython. This vulnerability allows a remote attacker to craft a malicious tar archive that, when processed, could be misinterpreted by the `tarfile` module. This misinterpretation occurs because the module incorrectly applies normalization of `AREGTYPE` blocks to `DIRTYPE` during the processing of multi-block members, such as `GNUTYPE_LONGNAME` or
Microsoft
tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
vendor_msrc·2026-03-10·CVSS 2.0
CVE-2025-13462 [LOW] tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
Mariner: Mariner
PSF: PSF
Customer Action Required: Yes
Debian
CVE-2025-13462: python2.7 - The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks t...
vendor_debian·2025·CVSS 2.0
CVE-2025-13462 [LOW] CVE-2025-13462: python2.7 - The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks t...
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.
Scope: local
bullseye: open
OSV
CVE-2025-13462: The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_
osv·2026-03-12·CVSS 2.0
CVE-2025-13462 [LOW] CVE-2025-13462: The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_
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.
GHSA
GHSA-9qpv-486p-2v4h: The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_
ghsa_unreviewed·2026-03-12
CVE-2025-13462 [LOW] CWE-20 GHSA-9qpv-486p-2v4h: The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_
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.
No detection rules found.
No public exploits indexed.
Wiz
CVE-2025-12781 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 6.3
CVE-2025-12781 [MEDIUM] CVE-2025-12781 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2025-12781 :
Python Interpreter vulnerability analysis and mitigation
When passing data to the b64decode(), standard_b64decode(), and urlsafe_b64decode() functions in the "base64" module the characters "+/" will always be accepted, regardless of the value of "altchars" parameter, typically used to establish an "alternative base64 alphabet" such as the URL safe alphabet. This behavior matches what is recommended in earlier base64 RFCs, but newer RFCs now recommend either dropping characters outside the specified base64 alphabet or raising an error. The old behavior has the possibility of causing data integrity issues.
This behavior can only be insecure if your application uses an alternate base64 alphabet (without "+/"). If your application does not use the "altchars" parameter or
Wiz
CVE-2025-13462 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 2.0
CVE-2025-13462 [LOW] CVE-2025-13462 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2025-13462 :
Python Interpreter vulnerability analysis and mitigation
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.
Source : NVD
## 2
Score
Published March 12, 2026
Severity LOW
CNA Score 2.0
Affected Technologies
Python Interpreter
Linux Debian
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 1.8
Exploitation Probability (EPSS) N/A
Affected packages and libraries
python3.14
cpe:2.3:a:python:python
Sources
NVD
Debian 11,
Wiz
CVE-2026-3479 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 2.0
CVE-2026-3479 [LOW] CVE-2026-3479 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-3479 :
Python Interpreter vulnerability analysis and mitigation
pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.
Source : NVD
## 2.1
Score
Published March 18, 2026
Severity LOW
CNA Score 2.1
Affected Technologies
Python Interpreter
Linux Debian
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 0.6
Exploitation Probability (EPSS) N/A
Affected packages and libraries
python3.14
python3-devel
Sources
NVD
Debian 11, 12, 13 Severity MEDIUM No Fix Added at: Mar 20, 2026
Debian 14 No Fix Added at: Mar 20, 2026
Echo Has Fix Added at: Mar 20, 2026
Red Hat 6, 7, 8, 9, 10 Severity LOW No Fix Added at: Mar 20, 2026
Debian Has F
Wiz
CVE-2025-15282 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 2.0
CVE-2025-15282 [LOW] CVE-2025-15282 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2025-15282 :
Python Interpreter vulnerability analysis and mitigation
User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
Source : NVD
## 6
Score
Published January 20, 2026
Severity MEDIUM
CNA Score 6.0
Affected Technologies
Python Interpreter
Wolfi
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 13.5
Exploitation Probability (EPSS) N/A
Affected packages and libraries
libpython3_13t1_0
python313-curses
Sources
NVD
Chainguard Has Fix Added at: Jan 28, 2026
Debian 11 Severity MEDIUM Has Fix Added at: Jan 23, 2026
Debian 12, 13 Severity MEDIUM No Fix Added at: Jan 23, 2026
Debian 14 Has Fix Ad
Wiz
CVE-2026-4519 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 6.0
CVE-2026-4519 [MEDIUM] CVE-2026-4519 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-4519 :
Python Interpreter vulnerability analysis and mitigation
The webbrowser.open() API would accept leading dashes in the URL which
could be handled as command line options for certain web browsers. New
behavior rejects leading dashes. Users are recommended to sanitize URLs
prior to passing to webbrowser.open().
Source : NVD
## 7
Score
Published March 20, 2026
Severity HIGH
CNA Score 7.0
Affected Technologies
Python Interpreter
Alma Linux
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 9.3
Exploitation Probability (EPSS) N/A
Affected packages and libraries
python39-devel:3.9::python3x-setuptools
python3.13
Sources
NVD
AlmaLinux 8 Severity HIGH Has Fix Added at: A
Wiz
CVE-2025-11468 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 5.7
CVE-2025-11468 [MEDIUM] CVE-2025-11468 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2025-11468 :
Python Interpreter vulnerability analysis and mitigation
When folding a long comment in an email header containing exclusively unfoldable characters, the parenthesis would not be preserved. This could be used for injecting headers into email messages where addresses are user-controlled and not sanitized.
Source : NVD
## 5.7
Score
Published January 20, 2026
Severity MEDIUM
CNA Score 5.7
Affected Technologies
Python Interpreter
Wolfi
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 11.6
Exploitation Probability (EPSS) N/A
Affected packages and libraries
python39-devel:3.9::python39-toml
python39-devel:3.9::python-idna
Sources
NVD
CBL-Mariner 3.0 Severity MEDIUM
Wiz
CVE-2026-0672 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 6.0
CVE-2026-0672 [MEDIUM] CVE-2026-0672 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-0672 :
Python Interpreter vulnerability analysis and mitigation
When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characters within cookie names, values, and parameters.
Source : NVD
## 6
Score
Published January 20, 2026
Severity MEDIUM
CNA Score 6.0
Affected Technologies
Python Interpreter
Wolfi
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 36.6
Exploitation Probability (EPSS) 0.2
Affected packages and libraries
python3.10-tkinter
python311-devel
Sources
NVD
CBL-Mariner 2.0 Severity MEDIUM Has Fix Added at: Feb 08, 2026
CBL-Mariner 3.0 Severity MEDIUM Has Fix Add
Wiz
CVE-2026-2297 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 2.0
CVE-2026-2297 [LOW] CVE-2026-2297 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-2297 :
Python Interpreter vulnerability analysis and mitigation
The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.
Source : NVD
## 5.7
Score
Published March 4, 2026
Severity MEDIUM
CNA Score 5.7
Affected Technologies
Python Interpreter
Wolfi
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 4.5
Exploitation Probability (EPSS) N/A
Affected packages and libraries
python39-devel:3.9::python39-psycopg2-tests
python39-devel:3.9::python-wheel
Sources
NVD
Chainguard Has Fix
Wiz
CVE-2026-4224 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 2.0
CVE-2026-4224 [LOW] CVE-2026-4224 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-4224 :
Python Interpreter vulnerability analysis and mitigation
When an Expat parser with a registered ElementDeclHandler parses an inline
document type definition containing a deeply nested content model a C stack
overflow occurs.
Source : NVD
## 6
Score
Published March 16, 2026
Severity MEDIUM
CNA Score 6.0
Affected Technologies
Python Interpreter
Wolfi
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 4.8
Exploitation Probability (EPSS) N/A
Affected packages and libraries
python-3.14
python36:3.6::python3-distro
Sources
NVD
Chainguard Has Fix Added at: Apr 05, 2026
Debian 11, 12, 13 Severity MEDIUM No Fix Added at: Mar 17, 2026
Debian 14 No Fix Added at: Mar 17,
Wiz
CVE-2026-3644 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 2.0
CVE-2026-3644 [LOW] CVE-2026-3644 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-3644 :
Python Interpreter vulnerability analysis and mitigation
The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output().
Source : NVD
## 6
Score
Published March 16, 2026
Severity MEDIUM
CNA Score 6.0
Affected Technologies
Python Interpreter
Wolfi
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 29.8
Exploitation Probability (EPSS) 0.1
Affected packages and libraries
python3.11-debug
python39-devel:3.9::m
Bugzilla
CVE-2025-13462 cpython: cpython: `tarfile` module misinterprets crafted tar archives leading to data integrity issues
bugzilla·2026-03-12·CVSS 3.3
CVE-2025-13462 [LOW] CVE-2025-13462 cpython: cpython: `tarfile` module misinterprets crafted tar archives leading to data integrity issues
CVE-2025-13462 cpython: cpython: `tarfile` module misinterprets crafted tar archives leading to data integrity issues
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.
https://github.com/python/cpython/commit/42d754e34c06e57ad6b8e7f92f32af679912d8abhttps://github.com/python/cpython/commit/72dde1016493c52abe857fc4a7bf6c40138b4114https://github.com/python/cpython/commit/7ad3093d76a748af55bdb1d2e8aad3638163b017https://github.com/python/cpython/commit/9a23b753552afa28e3a2f4d8863572fc66479406https://github.com/python/cpython/commit/ae99fe3a33b43e303a05f012815cef60b611a9c7https://github.com/python/cpython/commit/d10950739a78f54d0718d88fb5a868374603c084https://github.com/python/cpython/issues/141707https://github.com/python/cpython/pull/143934https://mail.python.org/archives/list/[email protected]/thread/EOMI5I66ZMKQ2INNFT6T7IAIKUGPZYIE/
2026-03-12
Published