本頁列出影響 python pillow 的已公開 CVE 漏洞(透過 NVD CPE 關聯)。每列包含嚴重程度評分、摘要與發布日期,便於識別與分析安全議題。
| CVE | 摘要 | 來源 | 最高 CVSS | EPSS % | 公開時間 | 更新時間 |
|---|---|---|---|---|---|---|
| CVE-2022-45199 | Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL. | [email protected] | 7.5 | 1.10% | 2022-11-14 | 2026-06-17 |
| CVE-2022-45198 | Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification). | [email protected] | 7.5 | 1.19% | 2022-11-14 | 2026-06-17 |
| CVE-2022-30595 | libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files. | [email protected] | 9.8 | 1.92% | 2022-05-25 | 2026-06-17 |
| CVE-2022-24303 | Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled. | [email protected] | 9.1 | 2.81% | 2022-03-27 | 2026-06-17 |
| CVE-2022-22817 | PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used. | [email protected] | 9.8 | 3.40% | 2022-01-10 | 2026-06-17 |
| 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 |