CVE-2021-25287
Out-of-bounds Read in Pillow
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.1
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
CVE-2021-25287- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
CVE-2021-25287- Updated
- 2026-11-02
EUVDEUVD-2021-0167 No score
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
EUVD-2021-0167- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-77gc-v2xv-rvvh
8.8
Out-of-bounds Read in Pillow
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
GHSA-77gc-v2xv-rvvh- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-25287
9.1
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
ALPINE-CVE-2021-25287- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-03
OSV
9.1
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
CVE-2021-25287- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
Show 16 moreShow less
OSVDEBIAN-CVE-2021-25287
9.1
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
DEBIAN-CVE-2021-25287- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-77gc-v2xv-rvvh
8.8
Out-of-bounds Read in Pillow
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
GHSA-77gc-v2xv-rvvh- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVRHSA-2021:4149
9.1
Red Hat Security Advisory: python-pillow security update
- Record
RHSA-2021:4149- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2021:4149
9.1
Moderate: python-pillow security update
The python-pillow packages contain a Python image processing library that provides extensive file format support, an efficient internal representation, and powerful image-processing capabilities.
Security Fix(es):
-
python-pillow: Out-of-bounds read in J2K image reader (CVE-2021-25287)
-
python-pillow: Out-of-bounds read in J2K image reader (CVE-2021-25288)
-
python-pillow: Negative-offset memcpy in TIFF image reader (CVE-2021-25290)
-
python-pillow: Regular expression DoS in PDF format parser (CVE-2021-25292)
-
python-pillow: Out-of-bounds read in SGI RLE image reader (CVE-2021-25293)
-
python-pillow: Excessive memory allocation in BLP image reader (CVE-2021-27921)
-
python-pillow: Excessive memory allocation in ICNS image reader (CVE-2021-27922)
-
python-pillow: Excessive memory allocation in ICO image reader (CVE-2021-27923)
-
python-pillow: Excessive memory allocation in PSD image reader (CVE-2021-28675)
-
python-pillow: Infinite loop in FLI image reader (CVE-2021-28676)
-
python-pillow: Excessive CPU use in EPS image reader (CVE-2021-28677)
-
python-pillow: Excessive looping in BLP image reader (CVE-2021-28678)
-
python-pillow: Buffer overflow in image convert function (CVE-2021-34552)
-
python-pillow: Buffer over-read in PCX image reader (CVE-2020-35653)
-
python-pillow: Buffer over-read in SGI RLE image reader (CVE-2020-35655)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.
- Record
RLSA-2021:4149- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-25287
9.1
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
UBUNTU-CVE-2021-25287- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2021:4149 No score
Moderate: python-pillow security update
The python-pillow packages contain a Python image processing library that provides extensive file format support, an efficient internal representation, and powerful image-processing capabilities.
Security Fix(es):
-
python-pillow: Out-of-bounds read in J2K image reader (CVE-2021-25287)
-
python-pillow: Out-of-bounds read in J2K image reader (CVE-2021-25288)
-
python-pillow: Negative-offset memcpy in TIFF image reader (CVE-2021-25290)
-
python-pillow: Regular expression DoS in PDF format parser (CVE-2021-25292)
-
python-pillow: Out-of-bounds read in SGI RLE image reader (CVE-2021-25293)
-
python-pillow: Excessive memory allocation in BLP image reader (CVE-2021-27921)
-
python-pillow: Excessive memory allocation in ICNS image reader (CVE-2021-27922)
-
python-pillow: Excessive memory allocation in ICO image reader (CVE-2021-27923)
-
python-pillow: Excessive memory allocation in PSD image reader (CVE-2021-28675)
-
python-pillow: Infinite loop in FLI image reader (CVE-2021-28676)
-
python-pillow: Excessive CPU use in EPS image reader (CVE-2021-28677)
-
python-pillow: Excessive looping in BLP image reader (CVE-2021-28678)
-
python-pillow: Buffer overflow in image convert function (CVE-2021-34552)
-
python-pillow: Buffer over-read in PCX image reader (CVE-2020-35653)
-
python-pillow: Buffer over-read in SGI RLE image reader (CVE-2020-35655)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2021:4149- Updated
- 2026-11-02
OSVBIT-pillow-2021-25287 No score
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
BIT-pillow-2021-25287- Updated
- 2026-11-02
OSVMGASA-2021-0389 No score
Updated python-pillow packages fix security vulnerabilities
Updated python-pillow packages fix security vulnerabilities:
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-25287).
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i (CVE-2021-25288).
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 (CVE-2021-28675).
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 (CVE-2021-28676).
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 malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening (CVE-2021-28677).
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 (CVE-2021-28678).
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 (CVE-2021-34552).
- Record
MGASA-2021-0389- Updated
- 2026-11-02
OSVPYSEC-2021-137 No score
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
- Record
PYSEC-2021-137- Updated
- 2026-11-02
OSVROOT-APP-PYPI-CVE-2021-25287 No score
CVE-2021-25287 in pillow - Patched by Root
Root has patched CVE-2021-25287 in the pillow package for Root:PyPI. Multiple fixed versions available.
- Record
ROOT-APP-PYPI-CVE-2021-25287- Updated
- 2026-11-05
OSVSUSE-SU-2021:1938-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
- CVE-2020-35655: Fixed a buffer over-read when decoding crafted SGI RLE image files (bsc#1180832).
- CVE-2021-25293: Fixed an out-of-bounds read in SGIRleDecode.c (bsc#1183102).
- CVE-2021-25290: Fixed a negative-offset memcpy with an invalid size in TiffDecode.c (bsc#1183105).
- CVE-2021-25292: Fixed a backtracking regex in PDF parser could be used as a DOS attack (bsc#1183101).
- CVE-2021-27921,CVE-2021-27922,CVE-2021-27923: Fixed improper reported size of a contained image (bsc#1183110,bsc#1183108,bsc#1183107)
- CVE-2020-35653: Fixed buffer over-read in PcxDecode when decoding a crafted PCX file (bsc#1180834).
- CVE-2021-25287: Fixed out-of-bounds read in J2kDecode in j2ku_graya_la (bsc#1185805).
- CVE-2021-25288: Fixed out-of-bounds read in J2kDecode in j2ku_gray_i (bsc#1185803).
- CVE-2021-28675: Fixed DoS in PsdImagePlugin (bsc#1185804).
- CVE-2021-28678: Fixed improper check in BlpImagePlugin (bsc#1185784).
- CVE-2021-28677: Fixed DoS in the open phase via a malicious EPS file (bsc#1185785).
- CVE-2021-28676: Fixed infinite loop in FliDecode.c (bsc#1185786).
- Record
SUSE-SU-2021:1938-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1939-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
- CVE-2021-25292: Fixed a backtracking regex in PDF parser could be used as a DOS attack (bsc#1183101).
- CVE-2021-25290: Fixed a negative-offset memcpy with an invalid size in TiffDecode.c (bsc#1183105).
- CVE-2021-27922,CVE-2021-27923: Fixed improper reported size of a contained image (bsc#1183108,bsc#1183107)
- CVE-2020-35653: Fixed buffer over-read in PcxDecode when decoding a crafted PCX file (bsc#1180834).
- CVE-2021-25287: Fixed out-of-bounds read in J2kDecode in j2ku_graya_la (bsc#1185805).
- CVE-2021-25288: Fixed out-of-bounds read in J2kDecode in j2ku_gray_i (bsc#1185803).
- CVE-2021-28675: Fixed DoS in PsdImagePlugin (bsc#1185804).
- CVE-2021-28677: Fixed DoS in the open phase via a malicious EPS file (bsc#1185785).
- CVE-2021-28676: Fixed infinite loop in FliDecode.c (bsc#1185786).
- Record
SUSE-SU-2021:1939-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1940-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
- CVE-2021-25290: Fixed a negative-offset memcpy with an invalid size in TiffDecode.c (bsc#1183105).
- CVE-2021-27922,CVE-2021-27923: Fixed improper reported size of a contained image (bsc#1183108,bsc#1183107)
- CVE-2020-35653: Fixed buffer over-read in PcxDecode when decoding a crafted PCX file (bsc#1180834).
- CVE-2021-25287: Fixed out-of-bounds read in J2kDecode in j2ku_graya_la (bsc#1185805).
- CVE-2021-25288: Fixed out-of-bounds read in J2kDecode in j2ku_gray_i (bsc#1185803).
- CVE-2021-28675: Fixed DoS in PsdImagePlugin (bsc#1185804).
- CVE-2021-28677: Fixed DoS in the open phase via a malicious EPS file (bsc#1185785).
- CVE-2021-28676: Fixed infinite loop in FliDecode.c (bsc#1185786).
- Record
SUSE-SU-2021:1940-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1607-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
- CVE-2021-25287: out-of-bounds read in J2kDecode in j2ku_graya_la (bsc#1185805)
- CVE-2021-25288: out-of-bounds read in J2kDecode in j2ku_gray_i (bsc#1185803)
- CVE-2021-28675: DoS in PsdImagePlugin (bsc#1185804)
- CVE-2021-28676: infinite loop in FliDecode.c can lead to DoS (bsc#1185786)
- CVE-2021-28677: DoS in the open phase via a malicious EPS file (bsc#1185785)
- CVE-2021-28678: improper check in BlpImagePlugin can lead to DoS (bsc#1185784)
- Record
SUSE-SU-2024:1607-1- Updated
- 2026-11-02
OSVUSN-4963-1 No score
pillow vulnerabilities
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash or hand, resulting in a denial of service.
- Record
USN-4963-1- Updated
- 2026-11-02
OSVUSN-8135-1 No score
pillow vulnerabilities
It was discovered that Pillow did not correctly handle reading J2K files, which could lead to an out-of-bounds read vulnerability. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2021-25287, CVE-2021-25288)
It was discovered that Pillow did not correctly handle certain integer arithmetic, which could lead to a buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 14.04 LTS. (CVE-2021-25290)
It was discovered that Pillow did not correctly perform bounds checking for certain operations. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2021-28675, CVE-2021-28676, CVE-2021-28677)
It was discovered that Pillow did not correctly handle certain memory operations. An attacker could possibly use this issue to cause a denial of service. (CVE-2023-44271)
It was discovered that Pillow did not correctly sanitize certain inputs. An attacker could possibly use this issue to execute arbitrary code. (CVE-2023-50447)
- Record
USN-8135-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pillowPyPI |
2.4.0 up to 8.2.0 | 8.2.0 |
py3-pillowAlpine:v3.14 |
before 8.2.0-r0 | 8.2.0-r0 |
py3-pillowAlpine:v3.15 |
before 8.2.0-r0 | 8.2.0-r0 |
py3-pillowAlpine:v3.16 |
before 8.2.0-r0 | 8.2.0-r0 |
py3-pillowAlpine:v3.17 |
before 8.2.0-r0 | 8.2.0-r0 |
py3-pillowAlpine:v3.18 |
before 8.2.0-r0 | 8.2.0-r0 |
py3-pillowAlpine:v3.19 |
before 8.2.0-r0 | 8.2.0-r0 |
py3-pillowAlpine:v3.20 |
before 8.2.0-r0 | 8.2.0-r0 |
py3-pillowAlpine:v3.21 |
before 8.2.0-r0 | 8.2.0-r0 |
py3-pillowAlpine:v3.22 |
before 8.2.0-r0 | 8.2.0-r0 |
Show 33 moreShow less
| Package | Affected | Fixed |
|---|---|---|
py3-pillowAlpine:v3.23 |
before 8.2.0-r0 | 8.2.0-r0 |
py3-pillowAlpine:v3.24 |
before 8.2.0-r0 | 8.2.0-r0 |
python3-pillowAlmaLinux:8 From an advisory covering 15 CVEs |
before 5.1.1-16.el8 | 5.1.1-16.el8 |
pillowBitnami |
before 8.2.0 | 8.2.0 |
pillowDebian:12 |
before 8.1.2+dfsg-0.2 | 8.1.2+dfsg-0.2 |
pillowDebian:13 |
before 8.1.2+dfsg-0.2 | 8.1.2+dfsg-0.2 |
pillowDebian:14 |
before 8.1.2+dfsg-0.2 | 8.1.2+dfsg-0.2 |
pillowPyPI |
2.4.0 up to 8.2.0, plus listed versions 2.5.02.5.12.5.22.5.32.6.0 Show 45 moreShow less2.6.12.6.22.7.02.8.02.8.12.8.22.9.03.0.03.1.03.1.0.rc13.1.0rc13.1.13.1.23.2.03.3.03.3.13.3.23.3.33.4.03.4.13.4.24.0.04.1.04.1.14.2.04.2.14.3.05.0.05.1.05.2.05.3.05.4.05.4.0.dev05.4.16.0.06.1.06.2.06.2.16.2.27.0.07.1.07.1.17.1.27.2.08.0.0 |
8.2.0 |
python-pillowMageia:8 From an advisory covering 7 CVEs |
before 8.1.2-1.mga8 | 8.1.2-1.mga8 |
pillowPyPI |
before 8.2.0, plus listed versions 1.01.11.21.31.4 Show 45 moreShow less1.51.61.7.01.7.11.7.21.7.31.7.41.7.51.7.61.7.71.7.82.0.02.1.02.2.02.2.12.2.22.3.02.3.12.3.22.4.02.5.02.5.12.5.22.5.32.6.02.6.12.6.22.7.02.8.02.8.12.8.22.9.03.0.03.1.03.1.0.rc13.1.0rc13.1.13.1.23.2.03.3.03.3.13.3.23.3.33.4.03.4.1 |
8.2.0 |
python-pillowRed Hat:enterprise_linux:8::appstream From an advisory covering 15 CVEs |
before 0:5.1.1-16.el8 | 0:5.1.1-16.el8 |
python-pillow-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 15 CVEs |
before 0:5.1.1-16.el8 | 0:5.1.1-16.el8 |
python-pillow-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 15 CVEs |
before 0:5.1.1-16.el8 | 0:5.1.1-16.el8 |
python3-pillowRed Hat:enterprise_linux:8::appstream From an advisory covering 15 CVEs |
before 0:5.1.1-16.el8 | 0:5.1.1-16.el8 |
python3-pillow-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 15 CVEs |
before 0:5.1.1-16.el8 | 0:5.1.1-16.el8 |
python3-pillow-tk-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 15 CVEs |
before 0:5.1.1-16.el8 | 0:5.1.1-16.el8 |
python-pillowRocky Linux:8 From an advisory covering 15 CVEs |
before 0:5.1.1-16.el8 | 0:5.1.1-16.el8 |
pillowRoot:PyPI |
before 8.0.1+aikido.1 | 8.0.1+aikido.18.1.2+aikido.18.0.1+aikido.27.0.0+aikido.27.0.0+aikido.3 |
python-PillowSUSE:OpenStack Cloud 9 From an advisory covering 14 CVEs |
before 5.2.0-3.8.1 | 5.2.0-3.8.1 |
python-PillowSUSE:OpenStack Cloud Crowbar 9 From an advisory covering 14 CVEs |
before 5.2.0-3.8.1 | 5.2.0-3.8.1 |
python-PillowSUSE:HPE Helion OpenStack 8 From an advisory covering 10 CVEs |
before 4.2.1-3.14.1 | 4.2.1-3.14.1 |
python-PillowSUSE:OpenStack Cloud 8 From an advisory covering 10 CVEs |
before 4.2.1-3.14.1 | 4.2.1-3.14.1 |
python-PillowSUSE:OpenStack Cloud Crowbar 8 From an advisory covering 10 CVEs |
before 4.2.1-3.14.1 | 4.2.1-3.14.1 |
python-PillowSUSE:OpenStack Cloud 7 From an advisory covering 9 CVEs |
before 2.8.1-4.22.1 | 2.8.1-4.22.1 |
python-PillowopenSUSE:Leap 15.5 From an advisory covering 6 CVEs |
before 7.2.0-150300.3.12.1 | 7.2.0-150300.3.12.1 |
pillowUbuntu:Pro:16.04:LTS |
before 3.1.2-0ubuntu1.6+esm3, plus listed versions 2.9.0-13.0.0-13.0.0-1build13.1.0-13.1.1-1 Show 8 moreShow less3.1.2-0ubuntu13.1.2-0ubuntu1.13.1.2-0ubuntu1.33.1.2-0ubuntu1.43.1.2-0ubuntu1.53.1.2-0ubuntu1.63.1.2-0ubuntu1.6+esm13.1.2-0ubuntu1.6+esm2 |
3.1.2-0ubuntu1.6+esm3 |
pillowUbuntu:18.04:LTS |
before 5.1.0-1ubuntu0.6, plus listed versions 4.1.1-3build24.3.0-2ubuntu15.0.0-15.1.0-15.1.0-1ubuntu0.25.1.0-1ubuntu0.35.1.0-1ubuntu0.45.1.0-1ubuntu0.5 |
5.1.0-1ubuntu0.6 |
pillowUbuntu:20.04:LTS |
before 7.0.0-4ubuntu0.4, plus listed versions 6.1.0-16.1.0-1build16.2.1-27.0.0-47.0.0-4build17.0.0-4ubuntu0.17.0.0-4ubuntu0.27.0.0-4ubuntu0.3 |
7.0.0-4ubuntu0.4 |
pillow-python2Ubuntu:Pro:20.04:LTS |
All versions, plus listed versions 6.2.1-3~build16.2.1-36.2.1-3ubuntu0.1~esm16.2.1-3ubuntu0.1~esm2 |
None known |
pillowUbuntu:18.04:LTS From an advisory covering 6 CVEs |
before 5.1.0-1ubuntu0.6, plus listed versions 4.1.1-3build24.3.0-2ubuntu15.0.0-15.1.0-15.1.0-1ubuntu0.25.1.0-1ubuntu0.35.1.0-1ubuntu0.45.1.0-1ubuntu0.5 |
5.1.0-1ubuntu0.6 |
pillowUbuntu:20.04:LTS From an advisory covering 6 CVEs |
before 7.0.0-4ubuntu0.4, plus listed versions 6.1.0-16.1.0-1build16.2.1-27.0.0-47.0.0-4build17.0.0-4ubuntu0.17.0.0-4ubuntu0.27.0.0-4ubuntu0.3 |
7.0.0-4ubuntu0.4 |
pillowUbuntu:Pro:14.04:LTS |
before 2.3.0-1ubuntu3.4+esm5, plus listed versions 2.2.1-1ubuntu22.2.1-2ubuntu12.2.1-3ubuntu22.2.1-3ubuntu32.2.1-3ubuntu4 Show 11 moreShow less2.2.1-3ubuntu62.3.0-1ubuntu12.3.0-1ubuntu22.3.0-1ubuntu32.3.0-1ubuntu3.22.3.0-1ubuntu3.32.3.0-1ubuntu3.42.3.0-1ubuntu3.4+esm12.3.0-1ubuntu3.4+esm22.3.0-1ubuntu3.4+esm32.3.0-1ubuntu3.4+esm4 |
2.3.0-1ubuntu3.4+esm5 |
pillowUbuntu:Pro:18.04:LTS |
before 5.1.0-1ubuntu0.8+esm2, plus listed versions 4.1.1-3build24.3.0-2ubuntu15.0.0-15.1.0-15.1.0-1ubuntu0.2 Show 7 moreShow less5.1.0-1ubuntu0.35.1.0-1ubuntu0.45.1.0-1ubuntu0.55.1.0-1ubuntu0.65.1.0-1ubuntu0.75.1.0-1ubuntu0.85.1.0-1ubuntu0.8+esm1 |
5.1.0-1ubuntu0.8+esm2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected | OSV | |
| affected, facts | OSV | |
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-25287 is a critical vulnerability (CVSS 9.1) in Python Pillow, published May 10, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.93%, the 87th percentile. Fixed in pillow 8.2.0.
References
pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html
github.com/python-pillow/Pillow/pull/5377
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
security.gentoo.org/glsa/202107-33
nvd.nist.gov/vuln/detail/CVE-2021-25287
github.com/python-pillow/Pillow/pull/5377/commits/3bf5eddb89afdf690eceaa52bc4d3546ba9a5f87
Show 133 moreShow less
github.com/python-pillow/Pillow/commit/3bf5eddb89afdf690eceaa52bc4d3546ba9a5f87
github.com/advisories/GHSA-77gc-v2xv-rvvh
github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-137.yaml
lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
security.alpinelinux.org/vuln/CVE-2021-25287
vulners.com/cve/CVE-2020-35653
vulners.com/cve/CVE-2020-35655
vulners.com/cve/CVE-2021-25287
vulners.com/cve/CVE-2021-25288
vulners.com/cve/CVE-2021-25290
vulners.com/cve/CVE-2021-25292
vulners.com/cve/CVE-2021-25293
vulners.com/cve/CVE-2021-27921
vulners.com/cve/CVE-2021-27922
vulners.com/cve/CVE-2021-27923
vulners.com/cve/CVE-2021-28675
vulners.com/cve/CVE-2021-28676
vulners.com/cve/CVE-2021-28677
vulners.com/cve/CVE-2021-28678
vulners.com/cve/CVE-2021-34552
security-tracker.debian.org/tracker/CVE-2021-25287
github.com/python-pillow/Pillow
advisories.mageia.org/MGASA-2021-0389.html
bugs.mageia.org/show_bug.cgi?id=29002
access.redhat.com/errata/RHSA-2021:4149
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.5_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1915420
bugzilla.redhat.com/show_bug.cgi?id=1915432
bugzilla.redhat.com/show_bug.cgi?id=1934685
bugzilla.redhat.com/show_bug.cgi?id=1934699
bugzilla.redhat.com/show_bug.cgi?id=1934705
bugzilla.redhat.com/show_bug.cgi?id=1935384
bugzilla.redhat.com/show_bug.cgi?id=1935396
bugzilla.redhat.com/show_bug.cgi?id=1935401
bugzilla.redhat.com/show_bug.cgi?id=1958226
bugzilla.redhat.com/show_bug.cgi?id=1958231
bugzilla.redhat.com/show_bug.cgi?id=1958240
bugzilla.redhat.com/show_bug.cgi?id=1958252
bugzilla.redhat.com/show_bug.cgi?id=1958257
bugzilla.redhat.com/show_bug.cgi?id=1958263
bugzilla.redhat.com/show_bug.cgi?id=1982378
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4149.json
access.redhat.com/security/cve/CVE-2020-35653
cve.org/CVERecord?id=CVE-2020-35653
nvd.nist.gov/vuln/detail/CVE-2020-35653
pillow.readthedocs.io/en/stable/releasenotes/8.1.0.html
access.redhat.com/security/cve/CVE-2020-35655
cve.org/CVERecord?id=CVE-2020-35655
nvd.nist.gov/vuln/detail/CVE-2020-35655
access.redhat.com/security/cve/CVE-2021-25287
cve.org/CVERecord?id=CVE-2021-25287
access.redhat.com/security/cve/CVE-2021-25288
cve.org/CVERecord?id=CVE-2021-25288
nvd.nist.gov/vuln/detail/CVE-2021-25288
access.redhat.com/security/cve/CVE-2021-25290
cve.org/CVERecord?id=CVE-2021-25290
nvd.nist.gov/vuln/detail/CVE-2021-25290
access.redhat.com/security/cve/CVE-2021-25292
cve.org/CVERecord?id=CVE-2021-25292
nvd.nist.gov/vuln/detail/CVE-2021-25292
access.redhat.com/security/cve/CVE-2021-25293
cve.org/CVERecord?id=CVE-2021-25293
nvd.nist.gov/vuln/detail/CVE-2021-25293
access.redhat.com/security/cve/CVE-2021-27921
cve.org/CVERecord?id=CVE-2021-27921
nvd.nist.gov/vuln/detail/CVE-2021-27921
access.redhat.com/security/cve/CVE-2021-27922
cve.org/CVERecord?id=CVE-2021-27922
nvd.nist.gov/vuln/detail/CVE-2021-27922
access.redhat.com/security/cve/CVE-2021-27923
cve.org/CVERecord?id=CVE-2021-27923
nvd.nist.gov/vuln/detail/CVE-2021-27923
access.redhat.com/security/cve/CVE-2021-28675
cve.org/CVERecord?id=CVE-2021-28675
nvd.nist.gov/vuln/detail/CVE-2021-28675
access.redhat.com/security/cve/CVE-2021-28676
cve.org/CVERecord?id=CVE-2021-28676
nvd.nist.gov/vuln/detail/CVE-2021-28676
access.redhat.com/security/cve/CVE-2021-28677
cve.org/CVERecord?id=CVE-2021-28677
nvd.nist.gov/vuln/detail/CVE-2021-28677
access.redhat.com/security/cve/CVE-2021-28678
cve.org/CVERecord?id=CVE-2021-28678
nvd.nist.gov/vuln/detail/CVE-2021-28678
access.redhat.com/security/cve/CVE-2021-34552
cve.org/CVERecord?id=CVE-2021-34552
nvd.nist.gov/vuln/detail/CVE-2021-34552
pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html
errata.rockylinux.org/RLSA-2021:4149
suse.com/support/update/announcement/2021/suse-su-20211938-1
bugzilla.suse.com/1180832
bugzilla.suse.com/1180834
bugzilla.suse.com/1183101
bugzilla.suse.com/1183102
bugzilla.suse.com/1183105
bugzilla.suse.com/1183107
bugzilla.suse.com/1183108
bugzilla.suse.com/1183110
bugzilla.suse.com/1185784
bugzilla.suse.com/1185785
bugzilla.suse.com/1185786
bugzilla.suse.com/1185803
bugzilla.suse.com/1185804
bugzilla.suse.com/1185805
suse.com/security/cve/CVE-2020-35653
suse.com/security/cve/CVE-2020-35655
suse.com/security/cve/CVE-2021-25287
suse.com/security/cve/CVE-2021-25288
suse.com/security/cve/CVE-2021-25290
suse.com/security/cve/CVE-2021-25292
suse.com/security/cve/CVE-2021-25293
suse.com/security/cve/CVE-2021-27921
suse.com/security/cve/CVE-2021-27922
suse.com/security/cve/CVE-2021-27923
suse.com/security/cve/CVE-2021-28675
suse.com/security/cve/CVE-2021-28676
suse.com/security/cve/CVE-2021-28677
suse.com/security/cve/CVE-2021-28678
suse.com/support/update/announcement/2021/suse-su-20211939-1
suse.com/support/update/announcement/2021/suse-su-20211940-1
suse.com/support/update/announcement/2024/suse-su-20241607-1
ubuntu.com/security/CVE-2021-25287
ubuntu.com/security/notices/USN-4963-1
ubuntu.com/security/notices/USN-8135-1
ubuntu.com/security/CVE-2021-25288
ubuntu.com/security/CVE-2021-28675
ubuntu.com/security/CVE-2021-28676
ubuntu.com/security/CVE-2021-28677
ubuntu.com/security/CVE-2021-28678
ubuntu.com/security/CVE-2021-25290
ubuntu.com/security/CVE-2023-44271
ubuntu.com/security/CVE-2023-50447
Left out here: 33 versions. The JSON record has them.