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
ubuntu/pillow vulnerabilities
107 published CVES affecting ubuntu/pillow, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 107
- Critical
- 15
- High
- 60
- Medium
- 32
- Low
- 0
- Unscored
- 0
- CISA KEV
- 0
Latest ubuntu/pillow CVEs
Newest publication first · page 3 of 5
-
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...
-
HighCVSS 8.6 EPSS 0.15%
Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.
-
MediumCVSS 5.1 EPSS 0.17%
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.
-
MediumCVSS 5.1 EPSS 0.11%
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.
-
MediumCVSS 5.1 EPSS 0.13%
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 lis...
-
HighCVSS 8.7 EPSS 0.71%
Pillow is a Python imaging library. Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS image, making them vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leadi...
-
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).
-
HighCVSS 7.5 EPSS 1.4%
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 in...
-
HighCVSS 7.5 EPSS 1.6%
Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).
-
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.
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.