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.
Product
alpine/py3-pillow vulnerabilities
33 published CVES affecting alpine/py3-pillow, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 33
- Critical
- 9
- High
- 16
- Medium
- 8
- Low
- 0
- Unscored
- 0
- CISA KEV
- 0
Latest alpine/py3-pillow CVEs
Newest publication first · page 1 of 2
-
HighCVSS 8.6 EPSS 0.40%
-
MediumCVSS 5.5 EPSS 0.32%
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.8%
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
-
CriticalCVSS 9.8 EPSS 3.6%
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 3.2%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.9%
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 0.96%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.
-
HighCVSS 7.5 EPSS 2.4%
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
-
CriticalCVSS 9.8 EPSS 2.3%
An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2020-35654.
-
HighCVSS 7.5 EPSS 3.2%
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.
-
HighCVSS 7.5 EPSS 4.9%
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICNS container, and thus an attempted memory allocation can be very large.
-
HighCVSS 7.5 EPSS 3.0%
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICO container, and thus an attempted memory allocation can be very large.
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.