Python Software Foundation

69 CVEs across 2 Python Software Foundation products. Browse Python Software Foundation vulnerabilities, severities, and proof-of-concept exploits.

Python Software Foundation products with known CVEs

ProductCVEs
Cpython68
Pymanager1
Python Software Foundation CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-158062026-08-18The HTTPPasswordMgr class in the urllib.request module, along with its subclasses HTTPPasswordMgrWithDefaultRealm and HTTPPasswordMgrWithPriorAuth, did not tak…
CVE-2026-170842026-08-18The "stringprep" module didn't process characters from RFC 3454 tables B.2 or B.3 correctly: the latest Unicode codepoint attributes were used instead of the…
CVE-2026-185032026-08-10Attacker-controlled CSV samples can trigger super-linear regular-expression work during dialect sniffing and consume significant CPU when applications pass u…
CVE-2026-68792026-07-28`Element.findall()` and fully-consumed `Element.iterfind()` exhibit `O(n^2)` time complexity when using XPath index predicates (e.g. `[1]`, `[last()]`, `[last(…
CVE-2026-15308High7.52026-07-09The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontr…
CVE-2026-4360Medium5.32026-06-30In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrust…
CVE-2026-119722026-06-23When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take…
CVE-2026-0864Medium5.52026-06-23When using the "configparser" module to write configuration files containing multi-line text values with carriage return characters (\r) the resulting file cou…
CVE-2026-119402026-06-23tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name tha…
CVE-2026-120032026-06-16To allow builds of Python to be run from an in-tree layout (rather than an installed file layout), the VPATH variable is defined at build time and used to loca…
CVE-2026-96692026-06-08bz2.BZ2Decompressor objects could be reused after a decompression error. If an application caught the resulting OSError and retried with the same decompressor…
CVE-2026-77742026-06-04tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outs…
CVE-2026-32762026-06-03unicodedata.normalize() can take excessive CPU time when processing specially crafted Unicode input containing long runs of combining characters with alternati…
CVE-2026-83282026-05-13The ftpcp() function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed. While makepasv() was patched to replace server-supplied PASV host address…
CVE-2026-7210High7.52026-05-11`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger has…
CVE-2026-3087High7.52026-04-27If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...`) then the archive will be extracted outside the…
CVE-2026-6019Medium6.12026-04-22http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sen…
CVE-2026-32982026-04-21The method "sock_recvfrom_into()" of "asyncio.ProacterEventLoop" (Windows only) was missing a boundary check for the data buffer when using nbytes parameter. T…
CVE-2026-57132026-04-14The "profiling.sampling" module (Python 3.15+) and "asyncio introspection capabilities" (3.14+, "python -m asyncio ps" and "python -m asyncio pstree") features…
CVE-2026-4786High7.12026-04-13Mitgation of CVE-2026-4519 was incomplete. If the URL contained "%action" the mitigation could be bypassed for certain browser types the "webbrowser.open()" AP…
CVE-2026-6100High8.12026-04-13Use-after-free (UAF) was possible in the `lzma.LZMADecompressor`, `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a memory allocation fails with a `MemoryError…
CVE-2026-34462026-04-10When calling base64.b64decode() or related functions the decoding process would stop after encountering the first padded quad regardless of whether there was m…
CVE-2026-15022026-04-10CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.
CVE-2026-5271High7.82026-04-01pymanager included the current working directory in sys.path meaning modules could be shadowed by modules in the current working directory. As a result, if a u…
CVE-2026-4519Low3.32026-03-20The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers. New behavior reject…
CVE-2026-34792026-03-18DISPUTED: The project has clarified that the documentation was incorrect, and that pkgutil.get_data() has the same security model as open(). The documentation…
CVE-2026-4224High7.52026-03-16When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content model a C stack overflow…
CVE-2026-3644High7.52026-03-16The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths wer…
CVE-2025-13462Low3.32026-03-12The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME…
CVE-2026-22972026-03-04The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.op…
CVE-2026-12992026-01-23The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when serializing an email message allowing for he…
CVE-2025-12781Medium5.32026-01-21When passing data to the b64decode(), standard_b64decode(), and urlsafe_b64decode() functions in the "base64" module the characters "+/" will always be accepte…
CVE-2026-08652026-01-20User-controlled header names and values containing newlines can allow injecting HTTP headers.
CVE-2026-06722026-01-20When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characte…
CVE-2025-153672026-01-20The poplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control…
CVE-2025-153662026-01-20The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control…
CVE-2025-152822026-01-20User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
CVE-2025-114682026-01-20When folding a long comment in an email header containing exclusively unfoldable characters, the parenthesis would not be preserved. This could be used for inj…
CVE-2025-12084Medium5.32025-12-03When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Avail…
CVE-2025-13837Medium5.52025-12-01When loading a plist file, the plistlib module reads data in size specified by the file itself, meaning a malicious file can cause OOM and DoS issues
CVE-2025-13836High7.52025-12-01When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length. This allows a malicious server…
CVE-2025-6075Medium5.52025-10-31If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
CVE-2025-8291Medium4.32025-10-07The 'zipfile' module would not check the validity of the ZIP64 End of Central Directory (EOCD) Locator record offset value would not be used to locate the ZIP6…
CVE-2025-8194High7.52025-07-28There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archi…
CVE-2025-6069Medium4.32025-06-17The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-o…
CVE-2025-4517Critical9.42025-06-03Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affected by this vulnerability if using the…
CVE-2025-4435High7.52025-06-03When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. Howev…
CVE-2025-4330High7.52025-06-03Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. …
CVE-2025-4138High7.52025-06-03Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. …
CVE-2024-12718Medium5.32025-06-03Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction direc…
CVE-2025-45162025-05-15There is an issue in CPython when using `bytes.decode("unicode_escape", error="ignore|replace")`. If you are not using the "unicode_escape" encoding or an erro…
CVE-2025-17952025-02-28During an address list folding when a separating comma ends up on a folded line and that line is to be unicode-encoded then the separator itself is also unicod…
CVE-2024-32202025-02-14There is a defect in the CPython standard library module “mimetypes” where on Windows the default list of known file locations are writable meaning other users…
CVE-2025-09382025-01-31The Python standard library functions `urllib.parse.urlsplit` and `urlparse` accepted domain names that included square brackets which isn't valid according to…
CVE-2024-12254High7.52024-12-06Starting in Python 3.12.0, the asyncio._SelectorSocketTransport.writelines() method would not "pause" writing and signal to the Protocol to drain the buffer…
CVE-2024-11168Low3.72024-11-12The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts (`[]`), allowing hosts that weren't IPv6 or IPvFuture. This behavior…
CVE-2024-9287High7.82024-10-22A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, all…
CVE-2024-6232High7.52024-09-03There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing…
CVE-2024-80882024-08-22There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class i…
CVE-2024-7592High7.52024-08-19There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backsla…
CVE-2024-6923Medium5.52024-08-01There is a MEDIUM severity vulnerability affecting CPython. The email module didn’t properly quote newlines for email headers when serializing an email mess…
CVE-2024-32192024-07-29The “socket” module provides a pure-Python fallback to the socket.socketpair() function for platforms that don’t support AF_UNIX, such as Windows. This pure…
CVE-2024-5642Medium6.52024-06-27CPython 3.9 and earlier doesn't disallow configuring an empty list ("[]") for SSLContext.set_npn_protocols() which is an invalid value for the underlying OpenS…
CVE-2024-0397High7.42024-06-17A defect was discovered in the Python “ssl” module where there is a memory race condition with the ssl.SSLContext methods “cert_store_stats()” and “get_ca_cert…
CVE-2024-4032High7.52024-06-17The “ipaddress” module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated as “globally reachable” or “private”. This…
CVE-2024-4030High7.12024-05-07On Windows a directory returned by tempfile.mkdtemp() would not always have permissions set to restrict reading and writing to the temporary directory by other…
CVE-2024-0450Medium6.22024-03-19An issue was found in the CPython `zipfile` module affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The zipfile module is vulnerable…
CVE-2023-6597High7.82024-03-19An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The tempfile.T…
CVE-2023-6507Medium6.12023-12-08An issue was found in CPython 3.12.0 `subprocess` module on POSIX platforms. The issue was fixed in CPython 3.12.1 and does not affect other stable releases. …