This page lists publicly disclosed CVE vulnerabilities affecting python pillow (linked via NVD CPE). Each row includes severity scores, summaries, and publication dates to help identify and analyze security issues.
| CVE | Summary | Source | Max CVSS | EPSS % | Published | Updated |
|---|---|---|---|---|---|---|
| CVE-2021-28677 | An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening. | [email protected] | 7.5 | 2.29% | 2021-06-02 | 2026-06-16 |
| CVE-2021-28676 | An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load. | [email protected] | 7.5 | 2.52% | 2021-06-02 | 2026-06-16 |
| CVE-2021-25288 | An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i. | [email protected] | 9.1 | 2.34% | 2021-06-02 | 2026-06-16 |
| CVE-2021-25287 | An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la. | [email protected] | 9.1 | 2.88% | 2021-06-02 | 2026-06-16 |
| CVE-2021-28675 | An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load. | [email protected] | 5.5 | 0.96% | 2021-06-02 | 2026-06-16 |
| CVE-2021-25293 | An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c. | [email protected] | 7.5 | 1.60% | 2021-03-19 | 2026-06-16 |
| CVE-2021-25292 | An issue was discovered in Pillow before 8.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex. | [email protected] | 6.5 | 1.64% | 2021-03-19 | 2026-06-16 |
| CVE-2021-25291 | An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries. | [email protected] | 7.5 | 1.43% | 2021-03-19 | 2026-06-16 |
| CVE-2021-25290 | An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size. | [email protected] | 7.5 | 2.37% | 2021-03-19 | 2026-06-16 |
| CVE-2021-25289 | An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2020-35654. | [email protected] | 9.8 | 2.28% | 2021-03-19 | 2026-06-16 |
| CVE-2021-27923 | Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICO container, and thus an attempted memory allocation can be very large. | [email protected] | 7.5 | 3.07% | 2021-03-03 | 2026-06-16 |
| CVE-2021-27922 | Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICNS container, and thus an attempted memory allocation can be very large. | [email protected] | 7.5 | 4.85% | 2021-03-03 | 2026-06-16 |
| CVE-2021-27921 | Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large. | [email protected] | 7.5 | 3.17% | 2021-03-03 | 2026-06-16 |
| CVE-2020-35655 | In Pillow before 8.1.0, SGIRleDecode has a 4-byte buffer over-read when decoding crafted SGI RLE image files because offsets and length tables are mishandled. | [email protected] | 5.4 | 1.57% | 2021-01-12 | 2026-06-16 |
| CVE-2020-35654 | In Pillow before 8.1.0, TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. | [email protected] | 8.8 | 1.79% | 2021-01-12 | 2026-06-16 |
| CVE-2020-35653 | In Pillow before 8.1.0, PcxDecode has a buffer over-read when decoding a crafted PCX file because the user-supplied stride value is trusted for buffer calculations. | [email protected] | 7.1 | 1.50% | 2021-01-12 | 2026-06-16 |
| CVE-2020-11538 | In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311. | [email protected] | 8.1 | 2.51% | 2020-06-25 | 2026-06-16 |
| CVE-2020-10994 | In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file. | [email protected] | 5.5 | 1.42% | 2020-06-25 | 2026-06-16 |
| CVE-2020-10379 | In Pillow before 7.1.0, there are two Buffer Overflows in libImaging/TiffDecode.c. | [email protected] | 7.8 | 1.13% | 2020-06-25 | 2026-06-16 |
| CVE-2020-10378 | In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer. | [email protected] | 5.5 | 1.10% | 2020-06-25 | 2026-06-16 |