Pillow — CVE history (PyPI)

Pillow

73 CVEs affect the Pillow PyPI package (highest CVSS 9.8). Latest disclosed: 2026-07-14. Full CVE history sourced from NVD.

Summary

Package
Pillow (PyPI)
Total CVEs
73
Actively exploited (CISA KEV)
0
Highest CVSS
9.8
Latest disclosed
2026-07-14

Recent CVEs (top 20)

CVESeverityCVSSKEVPublishedSummary
CVE-2026-59200High7.52026-07-14Pillow is a Python imaging library.
CVE-2026-59197High8.22026-07-14Pillow is a Python imaging library.
CVE-2026-540582026-07-14Pillow is a Python imaging library.
CVE-2026-59205High7.52026-07-14Pillow is a Python imaging library.
CVE-2026-59204High7.52026-07-14Pillow is a Python imaging library.
CVE-2026-59203Medium5.32026-07-14Pillow is a Python imaging library.
CVE-2026-59199High7.52026-07-14Pillow is a Python imaging library.
CVE-2026-59198Medium6.52026-07-14Pillow is a Python imaging library.
CVE-2026-55798Medium4.52026-07-06Pillow is a Python imaging library.
CVE-2026-55380High7.52026-07-06Pillow is a Python imaging library.
CVE-2026-55379High7.52026-07-06Pillow is a Python imaging library.
CVE-2026-54060High7.52026-07-06Pillow is a Python imaging library.
CVE-2026-54059High7.52026-07-06Pillow is a Python imaging library.
CVE-2026-42311High7.82026-05-09Pillow is a Python imaging library.
CVE-2026-42310Medium5.52026-05-09Pillow is a Python imaging library.
CVE-2026-42309Medium5.52026-05-09Pillow is a Python imaging library.
CVE-2026-42308Medium5.52026-05-09Pillow is a Python imaging library.
CVE-2026-40192High7.52026-04-15Pillow is a Python imaging library.
CVE-2026-25990High7.52026-02-11Pillow is a Python imaging library.
CVE-2025-48379High7.12025-07-01Pillow is a Python imaging library.

All-time worst (top 10 by CVSS)

CVESeverityCVSSKEVPublishedSummary
CVE-2022-30595Critical9.82022-05-25libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
CVE-2022-22817Critical9.82022-01-10PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method.
CVE-2021-34552Critical9.82021-07-13Pillow 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.
CVE-2021-25289Critical9.82021-03-19An issue was discovered in Pillow before 8.1.1.
CVE-2020-5312Critical9.82020-01-03libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
CVE-2020-5311Critical9.82020-01-03libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.
CVE-2016-4009Critical9.82016-04-13Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow.
CVE-2022-24303Critical9.12022-03-28Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
CVE-2021-25288Critical9.12021-06-02An issue was discovered in Pillow before 8.2.0.
CVE-2021-25287Critical9.12021-06-02An issue was discovered in Pillow before 8.2.0.