Lucene search
+L
PythonPillow

113 matches found

CVE
CVE
•added 2022/01/07 12:00 a.m.•969 views

CVE-2022-22817

CVE-2022-22817 affects Pillow’s PIL.ImageMath.eval before 9.0.0, enabling evaluation of arbitrary expressions (including code execution) via the expression parameter; a workaround/change was introduced in Pillow 9.0.0 to restrict builtins. Upgrading to 9.0.0+ (per Pillow release notes) is the adv...

9.8CVSS6.9AI score0.03584EPSS
Save
CVE
CVE
•added 2024/01/19 12:00 a.m.•628 views

CVE-2023-50447

Summary: CVE-2023-50447 affects Pillow up to 10.1.0, enabling Arbitrary Code Execution via the environment parameter in PIL.ImageMath.eval. This is a separate issue from CVE-2022-22817 (expression parameter). What’s affected: Pillow library in Python projects (Pillow versions up to 10.1.0). Root ...

8.1CVSS7.1AI score0.01703EPSS
Save
CVE
CVE
•added 2024/04/03 12:00 a.m.•526 views

CVE-2024-28219

CVE-2024-28219 affects the Pillow Python imaging library. In _imagingcms.c, a buffer overflow was introduced because strcpy was used instead of a safer copy like strncpy, impacting Pillow before version 10.3.0. The issue filename and function indicate a likely overflow related to fixed-length str...

6.7CVSS6.5AI score0.00997EPSS
Save
CVE
CVE
•added 2019/10/04 9:09 p.m.•477 views

CVE-2019-16865

Pillow CVE-2019-16865 affects Pillow

7.5CVSS6.5AI score0.03128EPSS
Save
CVE
CVE
•added 2021/07/13 12:00 a.m.•442 views

CVE-2021-34552

Pillow (Python Imaging Library) vulnerability CVE-2021-34552: Buffer overflow in Convert.c when passing controlled parameters to convert(), affecting Pillow <= 8.2.0 and PIL

9.8CVSS9.6AI score0.03188EPSS
Save
CVE
CVE
•added 2021/03/19 3:29 a.m.•417 views

CVE-2021-25290

Pillow up to version 8.1.1 contains a vulnerability in the TIFF image reader: a negative-offset memcpy with an invalid size in TiffDecode.c. This can lead to memory corruption. The issue is documented as CVE-2021-25290 and is referenced in multiple advisories (e.g., Debian, AlmaLinux, Amazon Linu...

7.5CVSS8.3AI score0.02372EPSS
Save
CVE
CVE
•added 2020/01/03 12:52 a.m.•399 views

CVE-2020-5312

CVE-2020-5312 is a Pillow vulnerability where libImaging/PcxDecode.c may overflow the PCX P mode buffer in Pillow versions before 6.2.2. The issue arises during decoding PCX images and could impact memory handling in affected builds. Public advisories and release notes indicate upgrading Pillow t...

9.8CVSS6.8AI score0.0369EPSS
Save
CVE
CVE
•added 2020/01/03 12:52 a.m.•397 views

CVE-2020-5313

Pillow (libImaging/FliDecode.c) has an FLI buffer overflow in versions before 6.2.2. Affected: Pillow/Python imaging library; root cause is an FLI decode buffer overflow. Impact is described as overflow in loading FLI images. Remediation: upgrade to Pillow 6.2.2 or later (per the CVE entry and ve...

7.1CVSS6.9AI score0.02644EPSS
Save
CVE
CVE
•added 2021/01/12 8:02 a.m.•395 views

CVE-2020-35653

CVE-2020-35653 affects Pillow up to version 8.0.x, where the PCX decoder (PcxDecode) may trigger a buffer over-read when processing a crafted PCX file because the user-supplied stride is trusted for buffer calculations. The issue is documented across multiple adapters (e.g., Debian, Arch, AlmaLin...

7.1CVSS7.7AI score0.0164EPSS
Save
CVE
CVE
•added 2026/07/14 4:27 p.m.•393 views

CVE-2026-54058

Pillow (Python imaging library) contains CVE-2026-54058, affecting the mmap raw codec path when loading uncompressed McIdas AREA images. Attacker-controlled header words can set a row stride smaller than the natural row width, enabling reads beyond the mapped region and potentially disclosing adj...

9.1CVSS7.5AI score0.00521EPSS
Save
CVE
CVE
•added 2020/01/03 12:52 a.m.•389 views

CVE-2020-5311

Pillow’s vulnerability CVE-2020-5311 affects the libImaging/SgiRleDecode.c path and is triggered by an SGI buffer overflow in Pillow versions before 6.2.2. The issue is in the SGI image parsing code, not in a user-provided input path description; impact is partial to high depending on exposure of...

9.8CVSS8.8AI score0.04048EPSS
Save
CVE
CVE
•added 2022/01/07 12:00 a.m.•379 views

CVE-2022-22816

CVE-2022-22816 affects Pillow’s image path handling. The vulnerability is a buffer over-read in path_getbbox() inside path.c during initialization of ImagePath.Path, present in Pillow versions before 9.0.0. The flaw can allow reading memory outside the intended bounds. The issue is mitigated by u...

6.5CVSS7.9AI score0.02064EPSS
Save
CVE
CVE
•added 2020/01/03 12:52 a.m.•358 views

CVE-2020-5310

CVE-2020-5310 affects Pillow’s TIFF decoding path, specifically libImaging/TiffDecode.c. The root cause is a TIFF decoding integer overflow tied to memory reallocation (realloc), exposing Pillow versions prior to 6.2.2 to potential crash or compromise when processing crafted TIFF images. Affected...

8.8CVSS8.8AI score0.01975EPSS
Save
CVE
CVE
•added 2022/01/07 12:00 a.m.•353 views

CVE-2022-22815

Summary (supported by provided docs): CVE-2022-22815 concerns the Pillow Python imaging library. The issue is in path_getbbox() within path.c where ImagePath.Path is improperly initialized, enabling a buffer over-read/improper initialization that can cause memory access errors or crashes. Connect...

6.5CVSS7.7AI score0.02771EPSS
Save
CVE
CVE
•added 2021/03/03 8:41 a.m.•352 views

CVE-2021-27921

CVE-2021-27921 concerns Pillow (Python Imaging Library). Affected: Pillow up to 8.1.1/8.1.2 before 8.1.2. Issue: memory-allocating DoS due to the reported size of a contained image not being properly checked for BLP containers, allowing a very large allocation. Impact: potential denial of service...

7.5CVSS6.7AI score0.0317EPSS
Save
CVE
CVE
•added 2021/03/19 3:30 a.m.•343 views

CVE-2021-25293

The CVE-2021-25293 issue is in Pillow prior to 8.1.1, caused by an out-of-bounds read in SGIRleDecode.c. Affected: Pillow up to version 8.1.1. Impact: information about the exact impact is described in the CVE entry; the connected documents confirm the vulnerability. Remediation: upgrade Pillow t...

7.5CVSS8.2AI score0.01601EPSS
Save
CVE
CVE
•added 2021/03/03 8:41 a.m.•342 views

CVE-2021-27922

Pillow vulnerability CVE-2021-27922: Pillow before 8.1.2 can trigger excessive memory allocation when processing ICNS containers because the reported image size isn’t properly checked. This memory DoS is the explicit impact described in multiple sources (e.g., Astra Linux advisory referencing Pil...

7.5CVSS7.3AI score0.04851EPSS
Save
CVE
CVE
•added 2021/03/19 3:30 a.m.•336 views

CVE-2021-25292

Pillow (Python Imaging Library fork) prior to 8.1.1 is affected by a vulnerability in its PDF format parser that allows a regular expression DoS (ReDoS) via a crafted PDF file due to a catastrophic backtracking regex. This can impact availability as indicated by the CVSS vector in the CVE entry, ...

6.5CVSS6.8AI score0.01727EPSS
Save
CVE
CVE
•added 2021/03/19 3:30 a.m.•327 views

CVE-2021-25291

Pillow before 8.1.1 is affected by an out-of-bounds read in TiffDecode.c (TiffreadRGBATile) due to invalid tile boundaries. Root cause: boundary handling in TiffreadRGBATile as reported for CVE-2021-25291. According to linked advisories and release notes, remediation is to upgrade to Pillow 8.1.1...

7.5CVSS8.2AI score0.01398EPSS
Save
CVE
CVE
•added 2021/03/03 8:41 a.m.•326 views

CVE-2021-27923

CVE-2021-27923 affects Pillow up to 8.1.1. It causes a denial-of-service via memory exhaustion because the reported size of a contained image is not properly checked for an ICO container, potentially triggering a very large memory allocation. Root cause: inadequate validation of ICO container ima...

7.5CVSS7.3AI score0.03045EPSS
Save
CVE
CVE
•added 2021/09/03 4:10 p.m.•316 views

CVE-2021-23437

CVE-2021-23437 affects Pillow (Python Imaging Library): the getrgb function is vulnerable to a regular expression denial-of-service (ReDoS). Affected versions include 5.2.0 and earlier than 8.3.2. The issue can cause partial availability impact. The CVSS base score is 7.5 (HIGH) per NVD. Remediat...

7.5CVSS7.5AI score0.0324EPSS
Save
CVE
CVE
•added 2021/01/12 8:08 a.m.•303 views

CVE-2020-35655

Pillow (before 8.1.0) contains a vulnerability in SGIRleDecode: a 4‑byte buffer over-read while decoding crafted SGI RLE images caused by mishandled offsets and length tables.

5.8CVSS6.8AI score0.01663EPSS
Save
CVE
CVE
•added 2023/11/03 12:00 a.m.•298 views

CVE-2023-44271

CVE-2023-44271 affects Pillow prior to 10.0.0, causing Denial of Service via uncontrolled memory allocation when using long text inputs in ImageDraw.textlength for truetype fonts. Multiple advisories (Debian, AlmaLinux/ALAS, Amazon Linux, CentOS/RHEL, Fedora) reference this vulnerability and reco...

7.5CVSS6.7AI score0.0136EPSS
Save
CVE
CVE
•added 2021/06/02 3:13 p.m.•297 views

CVE-2021-25287

Pillow CVE-2021-25287 affects the Python Pillow library prior to 8.2.0, with an out-of-bounds read in J2kDecode (function: j2ku_graya_la). The related CVE-2021-25288 affects J2kDecode in j2ku_gray_i. Public advisories and CNVD entries corroborate the out-of-bounds read in these JPEG 2000 decoding...

9.1CVSS8.9AI score0.02931EPSS
Save
CVE
CVE
•added 2020/01/05 9:57 p.m.•288 views

CVE-2019-19911

Summary (CVE-2019-19911) : Pillow before 6.2.2 contains a DoS vulnerability in FpxImagePlugin.py where range() is applied to an unvalidated 32‑bit integer when the number of bands is large. On 32‑bit Windows Python this can trigger OverflowError or MemoryError due to the 2 GB limit; on 64‑bit Lin...

7.5CVSS6.5AI score0.02236EPSS
Save
CVE
CVE
•added 2021/03/19 3:29 a.m.•287 views

CVE-2021-25289

CVE-2021-25289 affects Pillow before 8.1.1. The issue is a heap-based buffer overflow in TiffDecode when decoding crafted YCbCr files, triggered by interpretation conflicts with LibTIFF in RGBA mode. This stems from an incomplete fix for CVE-2020-35654. The CVE is documented with high severity (C...

9.8CVSS9.4AI score0.02345EPSS
Save
CVE
CVE
•added 2020/06/25 6:33 p.m.•275 views

CVE-2020-10177

CVE-2020-10177 affects Pillow prior to 7.1.0, with multiple out-of-bounds reads in libImaging/FliDecode.c. Technical details across connected advisories confirm affected package is python-pillow and fixes are provided in Pillow 7.1.0+ (e.g., ALAS-2024-2648, ALAS2 advisories; Mageia notes referenc...

5.5CVSS6.3AI score0.0148EPSS
Save
CVE
CVE
•added 2022/03/28 12:00 a.m.•271 views

CVE-2022-24303

Pillow (Python Imaging Library fork) is affected by CVE-2022-24303. The vulnerability arises in Pillow’s handling of spaces in temporary pathnames, enabling an attacker to delete files through path traversal-like behavior. This impacts Pillow versions before 9.0.1. The documented consequence is f...

9.1CVSS8.9AI score0.02691EPSS
Save
CVE
CVE
•added 2021/06/02 3:18 p.m.•268 views

CVE-2021-28677

CVE-2021-28677 affects Pillow before 8.2.0. The EPSImageFile.readline implementation mishandles line endings (combination of \r and \n) using a quadratic accumulation method, enabling a DoS during the open phase before an image is opened. Connected sources reference Pillow’s fix in 8.2.0 and note...

7.5CVSS8.1AI score0.02469EPSS
Save
CVE
CVE
•added 2021/06/02 3:13 p.m.•265 views

CVE-2021-25288

Pillow CVE-2021-25288 is an out-of-bounds read vulnerability in the J2kDecode path (j2ku_gray_i) affecting Pillow before 8.2.0. Multiple sources confirm the flaw; remediation is to upgrade to Pillow 8.2.0 or later. Exploitation details are not provided in the supplied documents.

9.1CVSS8.9AI score0.02931EPSS
Save
CVE
CVE
•added 2021/06/02 12:00 a.m.•256 views

CVE-2021-28676

CVE-2021-28676 affects Pillow prior to 8.2.0. The flaw is in FLI data handling where FliDecode did not properly check that the block advance is non-zero, which can lead to an infinite loop while loading. This is documented across multiple sources (e.g., Pillow release notes, advisories) as a load...

7.5CVSS8.1AI score0.02501EPSS
Save
CVE
CVE
•added 2021/01/12 8:06 a.m.•255 views

CVE-2020-35654

Pillow CVE-2020-35654 affects TiffDecode: heap-based buffer overflow when decoding crafted YCbCr files due to interpretation conflicts with LibTIFF in RGBA mode. Affected versions are Pillow before 8.1.0 (and related notes indicate an incomplete fix extending to 8.1.1 per downstream advisories). ...

8.8CVSS9.2AI score0.01867EPSS
Save
CVE
CVE
•added 2026/07/14 4:25 p.m.•254 views

CVE-2026-59197

Pillow (Python Imaging Library) contains a heap out-of-bounds write in the public rank-filter API prior to version 12.3.0. The flaw occurs when an extremely large odd filter size is used, because ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size vali...

8.2CVSS7.6AI score0.00445EPSS
Save
CVE
CVE
•added 2021/06/02 2:29 p.m.•242 views

CVE-2021-28675

The CVE-2021-28675 issue affects Pillow (before 8.2.0). PSDImagePlugin.PsdImageFile does not perform a sanity check on the number of input layers relative to the data block size, enabling a potential Denial of Service when opening images with Image.open (prior to Image.load). Connected documents ...

5.5CVSS6.8AI score0.00956EPSS
Save
CVE
CVE
•added 2021/06/02 3:16 p.m.•234 views

CVE-2021-28678

CVE-2021-28678 affects Pillow prior to 8.2.0, where the BlpImagePlugin for BLP data failed to properly validate reads after seeking to file offsets. This can allow a denial-of-service by repeatedly decoding on empty data. Root cause: insufficient checks on data returned by reads in BlpImagePlugin...

5.5CVSS6.8AI score0.00732EPSS
Save
CVE
CVE
•added 2026/04/15 10:53 p.m.•223 views

CVE-2026-40192

Pillow (Python imaging library) versions 10.3.0–12.1.1 are affected by a FITS-related decompression bomb: unbounded memory consumption from GZIP data during decoding, potentially leading to DoS. A fix is available in Pillow 12.2.0; if upgrading isn’t possible, users should avoid opening FITS imag...

8.7CVSS7.4AI score0.00697EPSS
Save
CVE
CVE
•added 2016/04/13 4:00 p.m.•217 views

CVE-2016-2533

CVE-2016-2533 affects Pillow and PIL prior to versions that fix the ImagingPcdDecode function in PcdDecode.c. A crafted PhotoCD file can cause a remote denial of service (crash) due to a buffer overflow in Pillow before 3.1.1 and PIL 1.1.7 and earlier. In all connected sources, the vulnerability ...

6.5CVSS6.2AI score0.04031EPSS
Save
CVE
CVE
•added 2025/07/01 6:33 p.m.•202 views

CVE-2025-48379

CVE-2025-48379 (Pillow) Vulnerability: Pillow (Python imaging library) versions 11.2.0 through before 11.3.0 contain a heap buffer overflow when saving large (>64k) images in DDS format, caused by writing into a buffer without checking available space. The issue affects users who save untruste...

7.1CVSS6.4AI score0.00327EPSS
Save
CVE
CVE
•added 2016/11/04 10:00 a.m.•193 views

CVE-2016-9189

CVE-2016-9189 concerns Pillow (Python Imaging Library fork). Affected: Pillow versions before 3.3.2. Root cause: integer overflow in Image.core.map_buffer within map.c that can be exploited via crafted image files. Impact: information disclosure (partial confidentiality) per CVSS data; local expl...

5.5CVSS5.9AI score0.01945EPSS
Save
CVE
CVE
•added 2020/06/25 6:22 p.m.•193 views

CVE-2020-10378

In Pillow, CVE-2020-10378 is an out-of-bounds read in the PCX decoding path. Specifically, in libImaging/PcxDecode.c, when reading PCX files, state->shuffle may be instructed to read beyond state->buffer, enabling an out-of-bounds access. This vulnerability is documented for Pillow releases...

5.5CVSS6.2AI score0.01143EPSS
Save
CVE
CVE
•added 2026/07/06 6:46 p.m.•190 views

CVE-2026-54059

Pillow (Python imaging library) contains CVE-2026-54059. The vulnerability affects PcfFontFile._load_bitmaps(), which reads glyph dimensions from the PCF METRICS section and passes them to Image.frombytes() without calling Image._decompression_bomb_check(). This can lead to excessive memory alloc...

7.5CVSS6.7AI score0.0041EPSS
Save
CVE
CVE
•added 2026/07/06 6:52 p.m.•189 views

CVE-2026-55379

Pillow (Python imaging library) is affected by CVE-2026-55379. In older releases, PIL/BdfFontFile.py:bdf_char() read BBX width/height from a BDF font and passed attacker-controlled values to Image.new() without invoking Image._decompression_bomb_check(), bypassing the library’s decompression bomb...

7.5CVSS7AI score0.00522EPSS
Save
CVE
CVE
•added 2016/04/13 4:00 p.m.•185 views

CVE-2016-0775

Pillow (Python Imaging Library fork) contains a buffer overflow in ImagingFliDecode (libImaging/FliDecode.c) that affects versions before 3.1.1. A crafted FLI file can crash the process (DoS) or, per some sources, enable arbitrary code execution in affected contexts. The issue is documented acros...

6.5CVSS6.2AI score0.0252EPSS
Save
CVE
CVE
•added 2020/06/25 6:32 p.m.•182 views

CVE-2020-11538

CVE-2020-11538 affects Pillow up to 7.0.0, with out-of-bounds reads in SGI image parsing (libImaging/SgiRleDecode.c). Connected sources confirm Pillow as the impacted product and outline the vulnerability class, but do not provide exploit details. The fix is in Pillow 7.1.0 and later; remediation...

8.1CVSS8.7AI score0.02476EPSS
Save
CVE
CVE
•added 2026/05/09 4:09 a.m.•176 views

CVE-2026-42308

Pillow CVE-2026-42308 describes an integer overflow in font handling that occurs when a glyph advances by an excessively large amount. Affected is Pillow before version 12.2.0; the issue is resolved in 12.2.0. The CVSS vector indicates local, low complexity access with no privileges required and ...

5.5CVSS6.4AI score0.00114EPSS
Save
CVE
CVE
•added 2022/05/25 11:46 a.m.•173 views

CVE-2022-30595

CVE-2022-30595 affects Pillow (Python Pillow library) v9.1.0, where libImaging/TgaRleDecode.c can trigger a heap-based buffer overflow when processing invalid TGA files. This is caused by improper handling in TgaRleDecode, with some sources describing potential remote code execution if exploited....

9.8CVSS9.5AI score0.02328EPSS
Save
CVE
CVE
•added 2015/01/16 4:00 p.m.•170 views

CVE-2014-9601

CVE-2014-9601 affects the Pillow library (Python Imaging Library) prior to 2.7.0. A crafted PNG image containing a large compressed text chunk can cause a denial of service when decompressed, due to resource exhaustion. The connected advisories and entries (e.g., Pillow 2.7.0 release notes and re...

5CVSS6.2AI score0.04661EPSS
Save
CVE
CVE
•added 2016/11/04 10:00 a.m.•170 views

CVE-2016-9190

Pillow (Python Imaging Library) prior to version 3.3.2 is affected by CVE-2016-9190. The bug arises from an Insecure Sign Extension issue in ImagingNew within Storage.c, enabling context-dependent attackers to achieve arbitrary code execution via a crafted image file. Affected versions are Pillow...

7.8CVSS7.9AI score0.01897EPSS
Save
CVE
CVE
•added 2016/04/13 4:00 p.m.•169 views

CVE-2016-0740

Pillow vulnerability CVE-2016-0740: Buffer overflow in ImagingLibTiffDecode (libImaging/TiffDecode.c) allows remote attackers to overwrite memory via a crafted TIFF file. Affected software: Pillow prior to 3.1.1. Impact is memory corruption; exploitation requires processing a malformed TIFF. Reme...

6.5CVSS6.4AI score0.02656EPSS
Save
CVE
CVE
•added 2022/11/14 12:00 a.m.•166 views

CVE-2022-45198

CVE-2022-45198 affects Pillow up to version 9.2.0, where improper handling of highly compressed GIF data (Data Amplification) can cause abnormal resource usage. Public sources confirm Pillow prior to 9.2.0 is vulnerable; advisories reference upgrades to mitigate. Debian LTS notes Pillow updates (...

7.5CVSS7.4AI score0.01627EPSS
Save
Total number of security vulnerabilities113