cbcvebase.

Python Software Foundation Cpython vulnerabilities

61 known vulnerabilities affecting python_software_foundation/cpython.

Total CVEs
61
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL2HIGH22MEDIUM31LOW5

Vulnerabilities

Page 2 of 4
CVE-2024-6232P3HIGHCVSS 7.5fixed in 3.8.20≥ 3.9.0, < 3.9.20+4 more2024-09-03
CVE-2024-6232 [HIGH] CWE-1333 CVE-2024-6232: There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed ex There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.
nvd
CVE-2025-8194P3HIGHCVSS 7.5fixed in 3.10.19≥ 3.11.0, < 3.11.14+3 more2025-07-28
CVE-2025-8194 [HIGH] CWE-835 CVE-2025-8194: There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enume There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the fo
nvd
CVE-2026-15308P3HIGHCVSS 7.5fixed in 3.15.0b42026-07-09
CVE-2026-15308 [HIGH] CWE-400 CVE-2026-15308: The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeat The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
nvd
CVE-2026-3276P3MEDIUMCVSS 6.3fixed in 3.13.14≥ 3.14.0, < 3.14.6+1 more2026-06-03
CVE-2026-3276 [MEDIUM] CWE-407 CVE-2026-3276: unicodedata.normalize() can take excessive CPU time when processing specially crafted Unicode input unicodedata.normalize() can take excessive CPU time when processing specially crafted Unicode input containing long runs of combining characters with alternating Canonical Combining Class values. This affects all normalization forms.
nvd
CVE-2026-7774P3MEDIUMCVSS 6.9fixed in 3.13.14≥ 3.14.0, < 3.14.6+1 more2026-06-04
CVE-2026-7774 [MEDIUM] CWE-22 CVE-2026-7774: tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or d tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extra
nvd
CVE-2026-1299P3MEDIUMCVSS 6.0fixed in 3.10.20≥ 3.11.0, < 3.11.15+4 more2026-01-23
CVE-2026-1299 [MEDIUM] CWE-93 CVE-2026-1299: The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. This is only applicable if using "LiteralHeader" writing headers that don't respect email folding rules, the new behavior will reject the incorrectly fold
nvd
CVE-2025-15282P3MEDIUMCVSS 6.0fixed in 3.10.20≥ 3.11.0, < 3.11.15+4 more2026-01-20
CVE-2025-15282 [MEDIUM] CWE-93 CVE-2025-15282: User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newli User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
nvd
CVE-2026-0672P3MEDIUMCVSS 6.0fixed in 3.13.13≥ 3.14.0, < 3.14.4+1 more2026-01-20
CVE-2026-0672 [MEDIUM] CWE-93 CVE-2026-0672: When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTT 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.
nvd
CVE-2025-15366P3MEDIUMCVSS 5.9fixed in 3.15.0a62026-01-20
CVE-2025-15366 [MEDIUM] CWE-77 CVE-2025-15366: The imaplib module, when passed a user-controlled command, can have additional commands injected usi The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
nvd
CVE-2025-15367P3MEDIUMCVSS 5.9fixed in 3.15.0a62026-01-20
CVE-2025-15367 [MEDIUM] CWE-77 CVE-2025-15367: The poplib module, when passed a user-controlled command, can have additional commands injected usin The poplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
nvd
CVE-2025-0938P3MEDIUMCVSS 6.3fixed in 3.10.17≥ 3.11.0, < 3.11.12+3 more2025-01-31
CVE-2025-0938 [MEDIUM] CWE-20 CVE-2025-0938: The Python standard library functions `urllib.parse.urlsplit` and `urlparse` accepted domain names t The Python standard library functions `urllib.parse.urlsplit` and `urlparse` accepted domain names that included square brackets which isn't valid according to RFC 3986. Square brackets are only meant to be used as delimiters for specifying IPv6 and IPvFuture hosts in URLs. This could result in differential parsing across the Python URL parser and othe
nvd
CVE-2024-4030P4HIGHCVSS 7.1fixed in 3.8.20≥ 3.9.0, < 3.9.20+4 more2024-05-07
CVE-2024-4030 [HIGH] CWE-276 CVE-2024-4030: On Windows a directory returned by tempfile.mkdtemp() would not always have permissions set to restr On Windows a directory returned by tempfile.mkdtemp() would not always have permissions set to restrict reading and writing to the temporary directory by other users, instead usually inheriting the correct permissions from the default location. Alternate configurations or users without a profile directory may not have the intended permissions. If you’r
nvd
CVE-2024-12718P4MEDIUMCVSS 5.3fixed in 3.10.18≥ 3.11.0, < 3.11.13+3 more2025-06-03
CVE-2024-12718 [MEDIUM] CWE-22 CVE-2024-12718: Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chm Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction directory. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a val
nvd
CVE-2021-4189P4MEDIUMCVSS 5.3fixed in 3.13.14≥ 3.14.0, < 3.14.6+1 more2022-08-24
CVE-2021-4189 [MEDIUM] CWE-252 CVE-2021-4189: A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode. The issue is how the FTP client trusts the host from the PASV response by default. This flaw allows an attacker to set up a malicious FTP server that can trick FTP clients into connecting back to a given IP address and port. This vulnerab
nvd
CVE-2026-0865P4MEDIUMCVSS 5.9fixed in 3.10.20≥ 3.11.0, < 3.11.15+4 more2026-01-20
CVE-2026-0865 [MEDIUM] CWE-74 CVE-2026-0865: User-controlled header names and values containing newlines can allow injecting HTTP headers. User-controlled header names and values containing newlines can allow injecting HTTP headers.
nvd
CVE-2026-3446P4MEDIUMCVSS 6.0fixed in 3.13.13≥ 3.14.0, < 3.14.4+1 more2026-04-10
CVE-2026-3446 [MEDIUM] CWE-345 CVE-2026-3446: When calling base64.b64decode() or related functions the decoding process would stop after encounter When calling base64.b64decode() or related functions the decoding process would stop after encountering the first padded quad regardless of whether there was more information to be processed. This can lead to data being accepted which may be processed differently by other implementations. Use "validate=True" to enable stricter processing of base64 dat
nvd
CVE-2026-4360P4MEDIUMCVSS 5.3fixed in 3.15.0b42026-06-30
CVE-2026-4360 [MEDIUM] CWE-281 CVE-2026-4360: In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardl In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.
nvd
CVE-2026-1502P4MEDIUMCVSS 5.7fixed in 3.13.14≥ 3.14.0a1, < 3.14.5rc1+1 more2026-04-10
CVE-2026-1502 [MEDIUM] CWE-93 CVE-2026-1502: CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host. CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.
nvd
CVE-2025-11468P4MEDIUMCVSS 5.7fixed in 3.10.20≥ 3.11.0, < 3.11.15+4 more2026-01-20
CVE-2025-11468 [MEDIUM] CWE-93 CVE-2025-11468: When folding a long comment in an email header containing exclusively unfoldable characters, the par 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.
nvd
CVE-2025-12084P4MEDIUMCVSS 5.3fixed in 3.10.20≥ 3.11.0, < 3.11.15+4 more2025-12-03
CVE-2025-12084 [MEDIUM] CWE-407 CVE-2025-12084: When building nested elements using xml.dom.minidom methods such as appendChild() that have a depend When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Availability can be impacted when building excessively nested documents.
nvd