Python

315 CVEs in 32 Python products, including Python, Pillow, Urllib3. Newest: CVE-2026-112902 (2026-11-05). Severity, EPSS and public exploits for each.

Python products with known CVEs

ProductCVEs
Python140
Pillow113
Urllib322
Requests6
Setuptools4
Keyring3
Black2
Pyxdg2
Typed Ast2
Beaker1
Hpack1
Hyper1
Jw.util1
Mwlib1
Novajoin1
Openpyxl1
Protobuf1
Py-Bcrypt1
Pybluemonday1
Pymanager1
Pypi1
Pypiserver1
Python-Gnupg1
Python Keyring1
Python Priority Library1
Pyxml1
Rply1
Rsa1
Tablib1
Tgcaptcha21
Tkvideoplayer1
Virtualenv1

Python CVEs with public exploits

CVESeverityExploitation evidencePublished
CVE-2014-0224High 7.4Metasploit, 6 PoC repos2014-06-05
CVE-2026-96778High 8.81 PoC repo2026-10-21
CVE-2026-112900Critical 9.84 PoC repos2026-10-19
CVE-2026-112403Critical 9.81 PoC repo2026-10-19
CVE-2026-112398Critical 9.81 PoC repo2026-10-19
CVE-2026-112396Medium 5.91 PoC repo2026-10-19
CVE-2026-44431Medium 5.31 PoC repo2026-05-13
CVE-2026-25645Medium 4.41 PoC repo2026-03-25
CVE-2026-31900Critical 9.81 PoC repo2026-03-11
CVE-2026-0994High 7.51 PoC repo2026-01-23
CVE-2025-47273High 8.82 PoC repos2025-05-17
CVE-2024-6232High 7.51 PoC repo2024-09-03
CVE-2023-43804Medium 5.92 PoC repos2023-10-04
CVE-2023-41105High 7.51 PoC repo2023-08-23
CVE-2022-48565Critical 9.81 PoC repo2023-08-22
Python CVEs — newest first (page 1 of 4)
CVESeverityScorePublishedSummary
CVE-2026-112902Critical9.12026-11-05Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to  TIFFSetField()  that do not match libtiff’s def…
CVE-2026-112899Medium5.32026-11-05Pillow is a Python imaging library. In versions 2.3.0 through 12.3.0, EPS rendering does not validate the scaled image dimensions before invoking Ghostscript…
CVE-2026-114501Medium5.32026-10-21Pillow is a Python imaging library. From 11.2.1 until 13.0.0, Arrow export assumes that an image's rows are tightly contiguous and exports from im->blocks[0].p…
CVE-2026-96778High8.82026-10-21Pillow is a Python imaging library. From 9.4.0 until 13.0.0, ImagingJpegEncode() in src/libImaging/JpegEncode.c can call jpeg_write_marker() for a JPEG COM com…
CVE-2026-96644High8.12026-10-21Pillow is a Python imaging library. Prior to 13.0.0 on Windows, src/PIL/WmfImagePlugin.py passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf h…
CVE-2026-96643Medium6.52026-10-21Pillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with th…
CVE-2026-96642Medium6.52026-10-21Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward see…
CVE-2026-96641Medium6.52026-10-21Pillow is a Python imaging library. Prior to 13.0.0, PILfont text-width accumulation in src/_imaging.c checks positive glyph advances against INT_MAX but does…
CVE-2026-96640High7.52026-10-21Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py treats a PDF /Pages graph as a tree withou…
CVE-2026-96639Critical9.82026-10-21Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a…
CVE-2026-96638Medium6.52026-10-21Pillow is a Python imaging library. From 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits crafted RLE BMP delta escapes and abso…
CVE-2026-96637Medium6.52026-10-21Pillow is a Python imaging library. Prior to 13.0.0, SpiderImageFile.seek() in src/PIL/SpiderImagePlugin.py reparses a later SPIDER stack frame and replaces se…
CVE-2026-96636Medium6.52026-10-21Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without…
CVE-2026-112901High7.52026-10-19Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile._open, w…
CVE-2026-112900Critical9.82026-10-19Pillow is a Python imaging library. From 2.6.0 until 13.0.0, Pillow is vulnerable to argument injection when invoking Ghostscript for EPS input. EpsImagePlugin…
CVE-2026-112898Medium5.32026-10-19Pillow is a Python imaging library. From 9.1.0 until 13.0.0, Pillow can disclose uninitialized stack memory when Image.quantize() uses an empty palette. Imagin…
CVE-2026-112897Medium6.22026-10-19Pillow is a Python imaging library. From 5.3.0 until 13.0.0, Pillow can return uninitialized memory as pixels when libtiff performs a short decode of JPEG-comp…
CVE-2026-112896High7.12026-10-19Pillow is a Python imaging library. Prior to 13.0.0, Pillow's TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size incon…
CVE-2026-112895High7.52026-10-19Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow can exhaust resources while parsing an existing PDF during an append operation. PdfParser f…
CVE-2026-112894High7.52026-10-19Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow takes quadratic time to reserve PDF object identifiers when saving many frames with save_al…
CVE-2026-112893High7.52026-10-19Pillow is a Python imaging library. From 10.0.0 until 13.0.0, Pillow can free an invalid glyph pointer during FreeType rendering with an active stroker. If FT_…
CVE-2026-112892High7.52026-10-19Pillow is a Python imaging library. From 4.1.0 until 13.0.0, Pillow's MSP RLE decoder can expand a small file into an unbounded in-memory buffer. The decoder w…
CVE-2026-112891High7.52026-10-19Pillow is a Python imaging library. From 9.2.0 until 13.0.0, Pillow performs quadratic copying when saving a GIF with a long comment. _get_global_header() repe…
CVE-2026-112406High7.52026-10-19Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow can enter an infinite loop while rewriting PDF pages. PdfParser.rewrite_pages() follows Par…
CVE-2026-112405High7.52026-10-19Pillow is a Python imaging library. From 12.0.0 until 13.0.0, Pillow's Image.merge() can dereference a null image8 plane. Validation skips the first input band…
CVE-2026-112404High8.22026-10-19Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow's TIFF tile and RGBA decode paths can read beyond row data produced by libtiff. In _decodeT…
CVE-2026-112403Critical9.82026-10-19Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. Ima…
CVE-2026-112402High7.52026-10-19Pillow is a Python imaging library. Prior to 13.0.0, Pillow can double free image memory when ImagingScaleAffine encounters a selective allocation failure. The…
CVE-2026-112401High7.52026-10-19Pillow is a Python imaging library. From 5.4.0 until 13.0.0, Pillow performs quadratic copying while parsing GIF comments. GifImageFile._seek() repeatedly appe…
CVE-2026-112400High7.52026-10-19Pillow is a Python imaging library. From 9.2.0 until 13.0.0, Pillow can retain a rejected GIF frame size after a decompression-bomb exception. In GifImageFile…
CVE-2026-112399High7.52026-10-19Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow can allocate an APNG disposal background at the full canvas size before applying the decomp…
CVE-2026-112398Critical9.82026-10-19Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix…
CVE-2026-112397High7.52026-10-19Pillow is a Python imaging library. Prior to 13.0.0, Pillow's ImageMorph.MorphOp.apply() can access memory before a row buffer for a zero-width image. PPM and…
CVE-2026-112396Medium5.92026-10-19Pillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-mem…
CVE-2026-112392High7.52026-10-19Pillow is a Python imaging library. Prior to 13.0.0, Pillow's rank-based filters can dereference invalid image storage for a zero-size image. ImagingExpand() a…
CVE-2026-112395Medium6.52026-10-19Pillow is a Python imaging library. From 8.2.0 until 13.0.0, Pillow's tiled-TIFF decoder can read past the tile buffer while copying four-byte pixels. In _deco…
CVE-2026-112394High8.22026-10-19Pillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L and P;4L raw decoders can read past the end of an input buffer. ImagingRawDecode calculates…
CVE-2026-112393Critical9.82026-10-19Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compress…
CVE-2026-112391High7.52026-10-19Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow's PdfParser.get_value() can recurse without a limit while reading nested PDF objects. The p…
CVE-2026-112390High7.52026-10-19Pillow is a Python imaging library. From 7.2.0 until 13.0.0, Pillow can enter an infinite loop while determining the frame count of a MIC image. MicImageFile i…
CVE-2026-97689High7.52026-09-29urllib3 is an HTTP client library for Python. From 1.10.3 until 2.8.0, the HTTPResponse.read_chunked and HTTPResponse.stream methods can allocate unbounded mem…
CVE-2026-97688Medium5.32026-09-29urllib3 is an HTTP client library for Python. From 2.6.2 until 2.8.0, HTTPResponse.stream and HTTPResponse.read_chunked can enter an infinite loop because the…
CVE-2026-97687High8.12026-09-29urllib3 is an HTTP client library for Python. From 1.26.0 until 2.8.0, the proxy_ssl_context, proxy_assert_hostname, proxy_assert_fingerprint, ssl_context, cer…
CVE-2026-59200High7.52026-07-14Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the P…
CVE-2026-59197High8.22026-07-14Pillow is a Python imaging library. Prior to 12.3.0, Pillow's public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd…
CVE-2026-54058Critical9.12026-07-14Pillow is a Python imaging library. Prior to 12.3.0, when Pillow loads an uncompressed McIdas AREA image from a filename through the mmap raw codec path, attac…
CVE-2026-59205High7.52026-07-14Pillow is a Python imaging library. Prior to 12.3.0, Pillow's ImageCms.ImageCmsTransform.apply(im, imOut) API can trigger controlled native heap corruption whe…
CVE-2026-59204High7.52026-07-14Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000…
CVE-2026-59203Medium5.32026-07-14Pillow is a Python imaging library. From 12.0.0 through 12.2.0, Pillow's EPS parser in PIL/EpsImagePlugin.py accepts a negative byte count in the %%BeginBinary…
CVE-2026-59199High7.52026-07-14Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates n…
CVE-2026-59198Medium6.52026-07-14Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE…
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-59890Medium6.12026-07-08setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. Prior to 83.0.0, FileList applied MANIFEST.in ex…
CVE-2026-55798Medium4.52026-07-06Pillow is a Python imaging library. Prior to 12.3.0, WindowsViewer.get_command() constructed a cmd.exe shell command by directly embedding a file path into an…
CVE-2026-55380High7.52026-07-06Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in sel…
CVE-2026-55379High7.52026-07-06Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker…
CVE-2026-54060High7.52026-07-06Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (…
CVE-2026-54059High7.52026-07-06Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them dire…
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-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-44432High7.52026-05-13urllib3 is an HTTP client library for Python. From 2.6.0 to before 2.7.0, urllib3 could decompress the whole response instead of the requested portion (1) duri…
CVE-2026-44431Medium5.32026-05-13urllib3 is an HTTP client library for Python. From 1.23 to before 2.7.0, cross-origin redirects followed from the low-level API via ProxyManager.connection_fro…
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-42311High7.82026-05-09Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially…
CVE-2026-42310Medium5.52026-05-09Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefin…
CVE-2026-42309Medium5.52026-05-09Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as coordinates to APIs that accept coordinates such as I…
CVE-2026-42308Medium5.52026-05-09Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the cur…
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-40192High7.52026-04-15Pillow is a Python imaging library. Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS image, making the…
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-25645Medium4.42026-03-25Requests is a HTTP library. Prior to version 2.33.0, the `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting f…
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-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-2026-32274High7.52026-03-12Black is the uncompromising Python code formatter. Starting in version 24.3.0 and prior to version 26.3.1, Black writes a cache file, the name of which is comp…
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-31900Critical9.82026-03-11Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, use_pyproject: true, for…
CVE-2026-25990High7.52026-02-11Pillow is a Python imaging library. From 10.3.0 to before 12.1.1, an out-of-bounds write may be triggered when loading a specially crafted PSD image. This vuln…
CVE-2026-0994High7.52026-01-23A denial-of-service (DoS) vulnerability exists in google.protobuf.json_format.ParseDict() in Python, where the max_recursion_depth limit can be bypassed when p…
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-21441High7.52026-01-07urllib3 is an HTTP client library for Python. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in…
CVE-2025-66471High7.52025-12-05urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.0 and prior to 2.6.0, the Streaming API improperly handles highly compressed d…
CVE-2025-66418High7.52025-12-05urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.24 and prior to 2.6.0, the number of links in the decompression chain was unbo…
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-48379High7.12025-07-01Pillow is a Python imaging library. In versions 11.2.0 to before 11.3.0, there is a heap buffer overflow when writing a sufficiently large (>64k encoded with d…
CVE-2025-50182Medium5.32025-06-19urllib3 is a user-friendly HTTP client library for Python. Starting in version 2.2.0 and prior to 2.5.0, urllib3 does not control redirects in browsers and Nod…
CVE-2025-50181Medium5.32025-06-19urllib3 is a user-friendly HTTP client library for Python. Prior to 2.5.0, it is possible to disable redirects for all requests by instantiating a PoolManager…
CVE-2025-47273High8.82025-05-17setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in `PackageIndex`…
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-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-37891Medium4.42024-06-17 urllib3 is a user-friendly HTTP client library for Python. When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only se…
CVE-2024-28219Medium6.72024-04-03In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
CVE-2023-50447High8.12024-01-19Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which wa…
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. …
CVE-2023-44271High7.52023-11-03An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a…