CVE-2020-11538: High severity Python Pillow vulnerability

Published Jun 25, 2020
·
Updated

An out-of-bounds read/write flaw was found in python-pillow, in the way SGI RLE images are decoded. An application that uses python-pillow to decode untrusted images may be vulnerable. This flaw allows an attacker to crash the application or potentially execute code on the system. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Other sources

In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311.

In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads/writes exist in the parsing of SGI image files, a different issue than CVE-2020-5311.

Pull Request:

https://github.com/python-pillow/Pillow/pull/4538

Upstream Advisory:

https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html

— Red Hat

Affected Software

12 affected componentsFixes available
redhat/python-pillow<0:5.1.1-12.el8_2
0:5.1.1-12.el8_2
redhat/python-pillow<0:5.1.1-11.el8_0
0:5.1.1-11.el8_0
redhat/python-pillow<0:5.1.1-11.el8_1
0:5.1.1-11.el8_1
redhat/python-pillow<7.1.0
7.1.0
pip/pillow<7.1.0
7.1.0
Python Pillow<=7.0.0
Fedoraproject Fedora=31
Fedoraproject Fedora=32
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
debian/pillow
8.1.2+dfsg-0.3+deb11u28.1.2+dfsg-0.3+deb11u39.4.0-1.1+deb12u111.1.0-511.1.0-5+deb13u112.1.1-1

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-12.el8_2
  2. Upgrade

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

    Fixed in 0:5.1.1-11.el8_0
  3. Upgrade

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

    Fixed in 0:5.1.1-11.el8_1
  4. Upgrade

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

    Fixed in 7.1.0
  5. Upgrade

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

    Fixed in 7.1.0
  6. Upgrade

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

    Fixed in 8.1.2+dfsg-0.3+deb11u2Fixed in 8.1.2+dfsg-0.3+deb11u3Fixed in 9.4.0-1.1+deb12u1Fixed in 11.1.0-5Fixed in 11.1.0-5+deb13u1Fixed in 12.1.1-1
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.1.0

Event History

Jun 25, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·06:32 PM
Data Sourced
via MITRE·06:32 PM
Description
Jul 27, 2020
Advisory Published
via GitHub·09:52 PM
Data Sourced
via GitHub·09:52 PM
DescriptionSeverityWeaknessAffected Software
Feb 16, 2021
Data Sourced
via Red Hat·07:44 PM
DescriptionSeverityAffected Software
Feb 27, 2023
Data Sourced
06:01 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·03:14 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:14 AM
Affected Software
Oct 9, 2024
Advisory Published
via GitHub·07:45 PM
Nov 21, 2024
Updated
via NVD·04:58 AM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2020-11538?

CVE-2020-11538 is a vulnerability found in python-pillow, which allows an attacker to crash the application or execute code on the system.

2

What is the severity of CVE-2020-11538?

CVE-2020-11538 has a severity rating of 8.1, which is considered high.

3

How does CVE-2020-11538 affect python-pillow?

CVE-2020-11538 affects python-pillow by introducing an out-of-bounds read/write flaw during decoding of SGI RLE images.

4

How can I fix CVE-2020-11538?

To fix CVE-2020-11538, update python-pillow to version 7.1.0 or later.

5

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

You can find more information about CVE-2020-11538 on the MITRE CVE website, the GitHub page for python-pillow, and the release notes for python-pillow version 7.1.0.

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