CVE-2020-35655: Medium severity Python Pillow vulnerability

Published Jan 3, 2021
·
Updated

A flaw was found in python-pillow. SGIRleDecode has a 4-byte buffer over-read when decoding crafted SGI RLE image files because offsets and length tables are mishandled.

Other sources

In Pillow before 8.1.0, SGIRleDecode has a 4-byte buffer over-read when decoding crafted SGI RLE image files because offsets and length tables are mishandled.

Affected Software

20 affected componentsFixes available
redhat/python-pillow<0:5.1.1-16.el8
0:5.1.1-16.el8
redhat/python-pillow<8.1.0
8.1.0
debian/pillow
8.1.2+dfsg-0.3+deb11u29.4.0-1.1+deb12u110.4.0-1
pip/pillow>=4.3.0<8.1.0
8.1.0
Python Pillow>=4.3.0<8.1.0
Fedoraproject Fedora=32
Fedoraproject Fedora=33
alpine/py3-pillow<7.1.2-r1
7.1.2-r1
alpine/py3-pillow<7.2.0-r1
7.2.0-r1
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0
alpine/py3-pillow<8.1.0-r0
8.1.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/python-pillow to a version that resolves this vulnerability.

    Fixed in 0:5.1.1-16.el8
  2. Upgrade

    Upgrade redhat/python-pillow to a version that resolves this vulnerability.

    Fixed in 8.1.0
  3. Upgrade

    Upgrade debian/pillow to a version that resolves this vulnerability.

    Fixed in 8.1.2+dfsg-0.3+deb11u2Fixed in 9.4.0-1.1+deb12u1Fixed in 10.4.0-1
  4. Upgrade

    Upgrade pip/pillow to a version that resolves this vulnerability.

    Fixed in 8.1.0
  5. Upgrade

    Upgrade alpine/py3-pillow to a version that resolves this vulnerability.

    Fixed in 7.1.2-r1
  6. Upgrade

    Upgrade alpine/py3-pillow to a version that resolves this vulnerability.

    Fixed in 7.2.0-r1
  7. Upgrade

    Upgrade alpine/py3-pillow to a version that resolves this vulnerability.

    Fixed in 8.1.0-r0
  8. Upgrade

    Upgrade python-pillow to a version that resolves this vulnerability.

    Fixed in 8.1.0

Event History

Jan 3, 2021
CVE Published
12:00 AM
Jan 12, 2021
CVE Published
via MITRE·08:08 AM
Data Sourced
via MITRE·08:08 AM
Description
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:15 AM
DescriptionSeverityAffected Software
Mar 18, 2021
Advisory Published
via GitHub·07:55 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2020-35655?

The severity of CVE-2020-35655 is medium with a CVSS score of 5.4.

2

How does CVE-2020-35655 impact systems?

CVE-2020-35655 can lead to a 4-byte buffer over-read when decoding crafted SGI RLE image files in python-pillow.

3

Which versions of python-pillow are affected by CVE-2020-35655?

CVE-2020-35655 affects python-pillow versions up to but excluding 8.1.0.

4

How can I fix CVE-2020-35655?

To fix CVE-2020-35655, update python-pillow to version 8.1.0 or later.

5

Where can I find more information about CVE-2020-35655?

You can find more information about CVE-2020-35655 on the CVE website, NIST NVD, and the official Pillow release notes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203