CVE-2020-35654: Buffer Overflow

Published Jan 3, 2021
·
Updated

A flaw was found in python-pillow. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Other sources

In Pillow before 8.1.0, TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode.

Affected Software

17 affected componentsFixes available
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<8.1.0
8.1.0
Python Pillow<8.1.0
Fedoraproject Fedora=32
Fedoraproject Fedora=33
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 8.1.0
  2. 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
  3. Upgrade

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

    Fixed in 8.1.0
  4. Upgrade

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

    Fixed in 8.1.0-r0
  5. 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
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2021
CVE Published
via MITRE·08:06 AM
Data Sourced
via MITRE·08:06 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 CVE-2020-35654?

CVE-2020-35654 is a vulnerability in python-pillow that allows a heap-based buffer overflow when decoding crafted YCbCr files.

2

What is the severity of CVE-2020-35654?

The severity of CVE-2020-35654 is considered critical with a CVSS score of 9.8.

3

How does CVE-2020-35654 impact system security?

CVE-2020-35654 poses a threat to data confidentiality and integrity, as well as system availability.

4

Which software versions are affected by CVE-2020-35654?

Pillow versions up to and excluding 8.1.0 are affected by CVE-2020-35654.

5

How can I mitigate the vulnerability in python-pillow?

To mitigate the vulnerability in python-pillow, upgrade to version 8.1.0 or later.

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