cbcvebase.

Python Pillow vulnerabilities

115 known vulnerabilities affecting python/pillow.

Total CVEs
115
CISA KEV
1
actively exploited
Public exploits
1
Exploited in wild
2
Severity breakdown
CRITICAL17HIGH64MEDIUM33LOW1

Vulnerabilities

Page 6 of 6
CVE-2014-3598P4MEDIUMCVSS 5.0≤ 2.5.22015-05-01
CVE-2014-3598 [MEDIUM] CWE-399 CVE-2014-3598: The Jpeg2KImagePlugin plugin in Pillow before 2.5.3 allows remote attackers to cause a denial of ser The Jpeg2KImagePlugin plugin in Pillow before 2.5.3 allows remote attackers to cause a denial of service via a crafted image.
ghsanvdosv
CVE-2026-42309P4MEDIUMCVSS 5.5≥ 11.2.1, < 12.2.02026-05-09
CVE-2026-42309 [MEDIUM] CWE-122 CVE-2026-42309: Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lis Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as coordinates to APIs that accept coordinates such as ImagePath.Path, ImageDraw.ImageDraw.polygon and ImageDraw.ImageDraw.line could cause a heap buffer overflow, as nested lists were recursively unpacked beyond the allocated buffer. Coordinate li
ghsanvd
CVE-2014-9601P4MEDIUMCVSS 5.0≤ 2.6.22015-01-16
CVE-2014-9601 [MEDIUM] CWE-20 CVE-2014-9601: Pillow before 2.7.0 allows remote attackers to cause a denial of service via a compressed text chunk Pillow before 2.7.0 allows remote attackers to cause a denial of service via a compressed text chunk in a PNG image that has a large size when it is decompressed.
ghsanvdosv
CVE-2014-3589P4MEDIUMCVSS 5.0≤ 2.3.1v2.3.0+3 more2014-08-25
CVE-2014-3589 [MEDIUM] CWE-20 CVE-2014-3589: PIL/IcnsImagePlugin.py in Python Imaging Library (PIL) and Pillow before 2.3.2 and 2.5.x before 2.5. PIL/IcnsImagePlugin.py in Python Imaging Library (PIL) and Pillow before 2.3.2 and 2.5.x before 2.5.2 allows remote attackers to cause a denial of service via a crafted block size.
ghsanvdosv
CVE-2020-10177P4MEDIUMCVSS 5.5fixed in 7.1.02020-06-25
CVE-2020-10177 [MEDIUM] CWE-125 CVE-2020-10177: Pillow before 7.1.0 has multiple out-of-bounds reads in libImaging/FliDecode.c. Pillow before 7.1.0 has multiple out-of-bounds reads in libImaging/FliDecode.c.
ghsanvdosv
CVE-2026-42310P4MEDIUMCVSS 5.5≥ 4.2.0, < 12.2.02026-05-09
CVE-2026-42310 [MEDIUM] CWE-835 CVE-2026-42310: Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can sup Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive. This issue has been patched in version 12.2.0.
ghsanvd
CVE-2020-10994P4MEDIUMCVSS 5.5fixed in 7.1.02020-06-25
CVE-2020-10994 [MEDIUM] CWE-125 CVE-2020-10994: In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a cr In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.
ghsanvdosv
CVE-2020-10378P4MEDIUMCVSS 5.5fixed in 7.1.02020-06-25
CVE-2020-10378 [MEDIUM] CWE-125 CVE-2020-10378: In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX f 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.
ghsanvdosv
CVE-2026-42308P4MEDIUMCVSS 5.5fixed in 12.2.02026-05-09
CVE-2026-42308 [MEDIUM] CWE-190 CVE-2026-42308: Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This issue has been patched in version 12.2.0.
ghsanvd
CVE-2021-28675P4MEDIUMCVSS 5.5fixed in 8.2.02021-06-02
CVE-2021-28675 [MEDIUM] CWE-252 CVE-2021-28675: An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on 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.
ghsanvdosv
CVE-2021-28678P4MEDIUMCVSS 5.5fixed in 8.2.02021-06-02
CVE-2021-28678 [MEDIUM] CWE-345 CVE-2021-28678: An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check 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.
ghsanvdosv
CVE-2014-1932P4MEDIUMCVSS 4.4≤ 2.3.02014-04-17
CVE-2014-1932 [MEDIUM] CWE-59 CVE-2014-1932: The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in EpsImagePlugin.py, (3 The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in EpsImagePlugin.py, (3) load function in IptcImagePlugin.py, and (4) _copy function in Image.py in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 do not properly create temporary files, which allow local users to overwrite arbitrary files and obtain sens
ghsanvdosv
CVE-2014-1933P4LOWCVSS 2.1≤ 2.3.02014-04-17
CVE-2014-1933 [LOW] CWE-264 CVE-2014-1933: The (1) JpegImagePlugin.py and (2) EpsImagePlugin.py scripts in Python Image Library (PIL) 1.1.7 and The (1) JpegImagePlugin.py and (2) EpsImagePlugin.py scripts in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 uses the names of temporary files on the command line, which makes it easier for local users to conduct symlink attacks by listing the processes.
ghsanvdosv
CVE-2026-112902HIGH≥ 0, < 13.0.02026-10-21
CVE-2026-112902 [HIGH] CWE-686 Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags ``` Memory disclosure and segfault in libtiff encoder via crafted TIFF tags Location: src/encode.c:1014 in PyImaging_LibTiffEncoderNew() Commit: a707c6b21c313880d0771e54965d142dd42358b6 ``` A crafted TIFF file of a few hundred bytes makes Pillow copy an attacker-chosen amount of its own process memory into
ghsa
CVE-2026-112899MEDIUM≥ 2.3.0, < 13.0.02026-10-20
CVE-2026-112899 [MEDIUM] CWE-770 Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit ``` EPS load(scale) lets Ghostscript render past the decompression bomb limit Location: src/PIL/EpsImagePlugin.py:92 in Ghostscript() Commit: a707c6b21c313880d0771e54965d142dd42358b6 ``` When an application opens an untrusted Encapsulated PostScript file and asks Pillow to render it at a larger scale
ghsa
Python Pillow vulnerabilities | cvebase