| CVE-2025-48379 | MEDIO5.5 | Pillow 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 default settings) image in the DDS format due to writing into a buffer without checking for available space. This only affects users who save untrusted data as a | 01/07/2025 |
| CVE-2024-28219 | MEDIO5.9 | In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy. | 03/04/2024 |
| CVE-2023-50447 | ALTO8.1 | Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter). | 19/01/2024 |
| CVE-2023-44271 | ALTO7.5 | An 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 service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument. | 03/11/2023 |
| PYSEC-2023-175 | — | Pillow versions before v10.0.1 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-5129 (previously CVE-2023-4863). Pillow v10.0.1 upgrades the bundled libwebp binary to v1.3.2. | 20/09/2023 |
| CVE-2023-4863KEV | ALTO8.8 | Heap buffer overflow in libwebp in Google Chrome prior to 116.0.5845.187 and libwebp 1.3.2 allowed a remote attacker to perform an out of bounds memory write via a crafted HTML page. (Chromium security severity: Critical) | 12/09/2023 |
| CVE-2022-45199 | ALTO7.5 | Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL. | 14/11/2022 |
| CVE-2022-45198 | ALTO7.5 | Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification). | 14/11/2022 |
| OSV-2022-1074 | — | Invalid-free in _dealloc | 22/10/2022 |
| OSV-2022-715 | — | Segv on unknown address in jpeg_read_scanlines | 15/08/2022 |
| CVE-2022-30595 | CRÍTICO9.8 | libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files. | 25/05/2022 |
| CVE-2022-24303 | CRÍTICO9.1 | Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled. | 28/03/2022 |
| GHSA-4fx9-vc88-q2xc | BAJO | Infinite loop in Pillow | 11/03/2022 |
| CVE-2022-22817 | CRÍTICO9.8 | 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. | 10/01/2022 |
| CVE-2022-22816 | MEDIO6.5 | path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path. | 10/01/2022 |
| CVE-2022-22815 | MEDIO6.5 | path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path. | 10/01/2022 |
| CVE-2021-23437 | ALTO7.5 | The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function. | 03/09/2021 |
| CVE-2021-34552 | CRÍTICO9.8 | 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. | 13/07/2021 |
| CVE-2021-28678 | MEDIO5.5 | 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. | 02/06/2021 |
| CVE-2021-28677 | ALTO7.5 | 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 D | 02/06/2021 |