# CVE-2020-35655: python3-pillow: The python-pillow packages contain a Python image processing library that provides extensive file format support, an...

CVE-2020-35655 is fixed in 6 products on 1 platform, first by python-pil 5.1.0-1ubuntu0.4, released January 12, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-35655
- Priority: High
- CVSS: 9.1 (Moderate)
- EPSS: 0.0166
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 12, 2021

## Description

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 Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-pil Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.4 | [python-pil 5.1.0-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-pil-5.1.0-1ubuntu0.4.md) | Jan 12, 2021 |
| Linux | python-pil.imagetk Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.4 | [python-pil.imagetk 5.1.0-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-pil.imagetk-5.1.0-1ubuntu0.4.md) | Jan 12, 2021 |
| Linux | python-pillow rocky 8 | 0:5.1.1-16.el8 | [RLSA-2021:4149](https://patchblox.com/security/data/fix/linux/rlsa-2021-4149.md) | Nov 9, 2021 |
| Linux | python3-pil Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.4 | [python3-pil 5.1.0-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-pil-5.1.0-1ubuntu0.4.md) | Jan 12, 2021 |
| Linux | python3-pil Ubuntu 20.04 LTS (focal) | 7.0.0-4ubuntu0.2 | [python3-pil 7.0.0-4ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-pil-7.0.0-4ubuntu0.2.md) | Jan 12, 2021 |
| Linux | python3-pil.imagetk Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.4 | [python3-pil.imagetk 5.1.0-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-pil.imagetk-5.1.0-1ubuntu0.4.md) | Jan 12, 2021 |
| Linux | python3-pil.imagetk Ubuntu 20.04 LTS (focal) | 7.0.0-4ubuntu0.2 | [python3-pil.imagetk 7.0.0-4ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-pil.imagetk-7.0.0-4ubuntu0.2.md) | Jan 12, 2021 |
| Linux | python3-pillow RHEL 8 | 0:5.1.1-16.el8 | [RHSA-2021:4149](https://patchblox.com/security/data/fix/linux/rhsa-2021-4149.md) | Nov 9, 2021 |
| Linux | python3-pillow almalinux 8 | 5.1.1-16.el8 | [ALSA-2021:4149](https://patchblox.com/security/data/fix/linux/alsa-2021-4149.md) | Nov 9, 2021 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
