本页列出影响 python pillow 的已公开 CVE 漏洞(通过 NVD CPE 关联)。每行包含严重程度评分、摘要与发布日期,便于识别与分析安全问题。
| CVE | 摘要 | 来源 | 最高 CVSS | EPSS % | 公开时间 | 更新时间 |
|---|---|---|---|---|---|---|
| CVE-2022-22816 | path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path. | [email protected] | 6.5 | 1.96% | 2022-01-10 | 2026-06-17 |
| CVE-2022-22815 | path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path. | [email protected] | 6.5 | 2.56% | 2022-01-10 | 2026-06-17 |
| CVE-2021-23437 | The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function. | [email protected] | 7.5 | 3.18% | 2021-09-03 | 2026-06-16 |
| CVE-2021-34552 | Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c. | [email protected] | 9.8 | 3.16% | 2021-07-13 | 2026-06-16 |
| CVE-2021-28678 | An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data. | [email protected] | 5.5 | 0.73% | 2021-06-02 | 2026-06-16 |
| 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 |