Technology · Languages and frameworks
Python (CPython)
Every CVE affecting Python (CPython), newest first, with a feed to follow it.
145 CVEs in total, newest first.
7.5CVSS
CVE-2026-15308 · Jul 09, 2026
The incremental HTML parser (html.parser.HTMLParser) allows for CPU
denial-of-service through repeated unterminated markup declarations when
processing uncontrolled data.
PYTHONMODIFIED
HIGH
5.3CVSS
CVE-2026-4360 · Jun 30, 2026
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 us…
PYTHONMODIFIED
MEDIUM
5.5CVSS
CVE-2026-0864 · Jun 23, 2026
When using the "configparser" module to write configuration files
containing multi-line text values with carriage return characters (\r) the
resulting file could be injected with unexpected keys and values if the
attacker controls the writt…
PYTHON
MEDIUM
7.5CVSS
CVE-2026-7210 · May 11, 2026
`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding.\r\n\r\nFully mitigating this vulnerability requires both updating lib…
PYTHONMODIFIED
HIGH
7.5CVSS
CVE-2026-3087 · Apr 27, 2026
If `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 target directory which is different than other operating systems. Only Windows i…
PoC availablePYTHONMODIFIED
HIGH
6.1CVSS
CVE-2026-6019 · Apr 22, 2026
http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-…
PoC availablePYTHONMODIFIED
MEDIUM
3.3CVSS
CVE-2026-4519 · Mar 20, 2026
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 web…
PYTHONMODIFIED
LOW
7.5CVSS
CVE-2026-4224 · Mar 16, 2026
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.
PYTHONMODIFIED
HIGH
7.5CVSS
CVE-2026-3644 · Mar 16, 2026
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. Additional…
PYTHONMODIFIED
HIGH
3.3CVSS
CVE-2025-13462 · Mar 12, 2026
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 misinterpre…
PYTHON
LOW
5.3CVSS
CVE-2025-12781 · Jan 21, 2026
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 a…
PoC availablePYTHON
MEDIUM
5.3CVSS
CVE-2025-12084 · Dec 03, 2025
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.
PYTHONMODIFIED
MEDIUM
5.5CVSS
CVE-2025-13837 · Dec 01, 2025
When 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
PYTHONMODIFIED
MEDIUM
7.5CVSS
CVE-2025-13836 · Dec 01, 2025
When 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 to cause the client to read large amounts of data into memory, potentially causi…
PYTHON
HIGH
5.5CVSS
CVE-2025-6075 · Oct 31, 2025
If the value passed to os.path.expandvars() is user-controlled a
performance degradation is possible when expanding environment
variables.
PYTHON
MEDIUM
7.8CVSS
CVE-2024-9287 · Oct 22, 2024
A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" script…
PYTHONMODIFIED
HIGH
7.5CVSS
CVE-2024-6232 · Sep 03, 2024
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.
PoC availablePYTHONMODIFIED
HIGH
7.5CVSS
CVE-2024-7592 · Aug 19, 2024
There is a LOW severity vulnerability affecting CPython, specifically the
'http.cookies' standard library module.
When parsing cookies that contained backslashes for quoted characters in
the cookie value, the parser would use an algorithm…
PoC availablePYTHONMODIFIED
HIGH
4.9CVSS
CVE-2023-6507 · Dec 08, 2023
An 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.
When using the `extra_groups=` parameter with an empty list as a value (ie `extra…
PYTHONPYTHON 3.12.0MODIFIED
MEDIUM
5.3CVSS
CVE-2023-40217 · Aug 25, 2023
An issue was discovered in Python before 3.8.18, 3.9.x before 3.9.18, 3.10.x before 3.10.13, and 3.11.x before 3.11.5. It primarily affects servers (such as HTTP servers) that use TLS client authentication. If a TLS server-side socket is cr…
PYTHONMODIFIED
MEDIUM
Matches NVD products python:python. All technologies.