Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented de...
Product
alpine/py3-pillow vulnerabilities
38 published CVES affecting alpine/py3-pillow, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 38
- Critical
- 9
- High
- 20
- Medium
- 9
- Low
- 0
- Unscored
- 0
- CISA KEV
- 0
Latest alpine/py3-pillow CVEs
Newest publication first · page 1 of 2
-
HighCVSS 7.5 EPSS 0.52%
-
HighCVSS 7.5 EPSS 0.52%
Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap alloca...
-
HighCVSS 7.5 EPSS 0.42%
Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during...
-
HighCVSS 7.5 EPSS 0.41%
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause exce...
-
CVE-2026-55798 Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path
PublishedMediumCVSS 4.5 EPSS 0.20%Pillow is a Python imaging library. Prior to 12.3.0, WindowsViewer.get_command() constructed a cmd.exe shell command by directly embedding a file path into an f-string without escaping and passed the result to subprocess.Popen(..., shell=True), allowing shell metacharacters in th...
-
HighCVSS 8.6 EPSS 0.40%
Pillow is a Python imaging library. From 10.3.0 to before 12.1.1, an out-of-bounds write may be triggered when loading a specially crafted PSD image. This vulnerability is fixed in 12.1.1.
-
MediumCVSS 5.5 EPSS 0.34%
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 aff...
-
MediumCVSS 5.9 EPSS 1.00%
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
-
HighCVSS 8.1 EPSS 1.7%
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).
-
CriticalCVSS 9.8 EPSS 2.3%
libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
-
CVE-2022-24303 Path traversal in Pillow
PublishedCriticalCVSS 9.1 EPSS 2.7%Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
-
MediumCVSS 6.5 EPSS 2.1%
path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.
-
MediumCVSS 6.5 EPSS 2.3%
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
-
CriticalCVSS 9.8 EPSS 3.7%
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.
-
HighCVSS 7.5 EPSS 3.2%
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
-
CVE-2021-34552 Buffer Overflow in Pillow
PublishedCriticalCVSS 9.8 EPSS 2.7%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.
-
HighCVSS 7.5 EPSS 2.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 maliciou...
-
MediumCVSS 5.5 EPSS 0.73%
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.
-
CriticalCVSS 9.1 EPSS 2.4%
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
-
CriticalCVSS 9.1 EPSS 2.4%
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
-
CVE-2021-28675 Pillow denial of service
PublishedMediumCVSS 5.5 EPSS 1.2%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.
-
HighCVSS 7.5 EPSS 2.5%
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.
-
HighCVSS 7.5 EPSS 1.6%
An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.
-
MediumCVSS 6.5 EPSS 1.7%
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.
-
HighCVSS 7.5 EPSS 1.4%
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.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.