VulnSea

python vulnerabilities

CVEs whose affected-version data names the python package (pip). Each record lists the affected and patched versions; check a specific version with the dependency checker or POST /api/sbom.

64 CVEsRSS

CVE-2026-54981High· 7.8
2mo ago

Inclusion of functionality from untrusted control sphere in Visual Studio Code - Python extension allows an unauthorized attacker to bypass a security feature locally.

Inclusion of functionality from untrusted control sphere in Visual Studio Code - Python extension allows an unauthorized attacker to bypass a security feature locally.

▾ Twilightmicrosoft · pythonEPSS 0.47%via NVD
CVE-2026-7210High· 7.5⚖ disputed
5mo ago

`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 …

`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 …

▾ Twilightpython · pythonEPSS 0.67%via NVD
CVE-2026-3087High· 7.5
6mo ago

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

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 Window…

▾ Twilightpython · pythonEPSS 0.55%via NVD
CVE-2026-6019Medium· 6.1
6mo ago

http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context

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 base…

▾ Sunlitpython · pythonEPSS 0.21%via NVD
CVE-2026-4519Low· 3.3
7mo ago

The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers

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 …

▾ Sunlitpython · pythonEPSS 0.31%via NVD
CVE-2026-4224High· 7.5
7mo ago

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.

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.

▾ Twilightpython · pythonEPSS 0.70%via NVD
CVE-2026-3644High· 7.5
7mo ago

The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete

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. Additio…

▾ Twilightpython · pythonEPSS 0.50%via NVD
CVE-2025-13462Low· 3.3
7mo ago

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

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 misinter…

▾ Sunlitpython · pythonEPSS 0.17%via NVD
CVE-2025-13837Medium· 5.5
11mo ago

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

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

▾ Sunlitpython · pythonEPSS 0.22%via NVD
CVE-2025-13836High· 7.5
11mo ago

When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length

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 ca…

▾ Twilightpython · pythonEPSS 1.6%via NVD
CVE-2025-6075Medium· 5.5
12mo ago

If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.

If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.

▾ Sunlitpython · pythonEPSS 0.15%via NVD
CVE-2023-6507Medium· 6.1
2y ago

An issue was found in CPython 3.12.0 `subprocess` module on POSIX platforms

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 `ex…

▾ Sunlitpython · pythonEPSS 1.3%via NVD
CVE-2022-48560High· 7.5
3y ago

A use-after-free exists in Python through 3.9 via heappushpop in heapq.

A use-after-free exists in Python through 3.9 via heappushpop in heapq.

▾ Twilightpython · pythonEPSS 2.0%via NVD
CVE-2023-24329High· 7.5PoC
3y ago

An issue in the urllib.parse component of Python before 3.11.4 allows attackers to bypass blocklisting methods by supplying a URL that starts with blank characters.

An issue in the urllib.parse component of Python before 3.11.4 allows attackers to bypass blocklisting methods by supplying a URL that starts with blank characters.

▾ Midnightpython · pythonEPSS 20%via NVD
CVE-2022-45061High· 7.5PoC
3y ago

An issue was discovered in Python before 3.11.1

An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder…

▾ Midnightpython · pythonEPSS 2.7%via NVD
CVE-2022-37454Critical· 9.8PoC
4y ago

The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties

The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge…

▾ Abyssalextended_keccak_code_package_project · extended_keccak_code_packageEPSS 7.4%via NVD
CVE-2020-10735High· 7.5
4y ago

A flaw was found in python

A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int("text"), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (float, decimal, int…

▾ Twilightpython · pythonEPSS 4.5%via NVD
CVE-2021-4189Medium· 5.3
4y ago

A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode

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…

▾ Sunlitpython · pythonEPSS 3.4%via NVD
CVE-2021-28861High· 7.4
4y ago

Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure

Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure. NOTE: this is disputed by a third party…

▾ Twilightpython · pythonEPSS 2.7%via NVD
CVE-2015-20107High· 7.6PoC
4y ago

In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file

In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch …

▾ Midnightpython · pythonEPSS 2.8%via NVD
CVE-2018-25032High· 7.5PoC
4y ago

zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

▾ Midnightnokogiri · nokogiriEPSS 52%via NVD
CVE-2022-26488High· 7.0PoC
4y ago

In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured

In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured. The installer may allow a local attacker to add user-writable directories to the system search path. To exploit, an admi…

▾ Midnightpython · pythonEPSS 1.5%via NVD
CVE-2021-3733Medium· 6.5
4y ago

There's a flaw in urllib's AbstractBasicAuthHandler class

There's a flaw in urllib's AbstractBasicAuthHandler class. An attacker who controls a malicious HTTP server that an HTTP client (such as web browser) connects to, could trigger a Regular Expression Denial of Service (ReDOS) during an aut…

▾ Sunlitpython · pythonEPSS 4.8%via NVD
CVE-2021-3737High· 7.5
4y ago

A flaw was found in python

A flaw was found in python. An improperly handled HTTP response in the HTTP client code of python may allow a remote attacker, who controls the HTTP server, to make the client script enter an infinite loop, consuming CPU time. The highes…

▾ Twilightpython · pythonEPSS 13%via NVD
CVE-2022-0391High· 7.5
4y ago

A flaw was found in Python, specifically within the urllib.parse module

A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows charac…

▾ Twilightpython · pythonEPSS 8.5%via NVD
CVE-2021-3426Medium· 5.7
5y ago

There's a flaw in Python 3's pydoc

There's a flaw in Python 3's pydoc. A local or adjacent attacker who discovers or is able to convince another local or adjacent user to start a pydoc server could access the server and use it to disclose sensitive information belonging t…

▾ Sunlitpython · pythonEPSS 1.9%via NVD
CVE-2021-29921Critical· 9.8
5y ago

In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string

In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string. This (in some situations) allows attackers to bypass access control that is based on IP addresses.

▾ Midnightpython · pythonEPSS 6.9%via NVD
CVE-2021-23336Medium· 5.9
5y ago

The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by usi…

The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by usi…

▾ Sunlitpython · pythonEPSS 41%via NVD
CVE-2021-3177Critical· 9.8PoC
5y ago

Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input, as demonstrated by a 1e300…

Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input, as demonstrated by a 1e300…

▾ Abyssalpython · pythonEPSS 24%via NVD
CVE-2020-27619Critical· 9.8
6y ago

In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.

In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.

▾ Midnightpython · pythonEPSS 8.3%via NVD
python vulnerabilities (CVEs) · VulnSea