RHSA-2020:0580: Important: python-pillow security update

Published Feb 24, 2020
·
Updated

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 write in expandrow in libImaging/SgiRleDecode.c (CVE-2020-5311) python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c (CVE-2020-5312) python-pillow: reading specially crafted image files leads to allocation of large amounts of memory and denial of service (CVE-2019-16865) 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.

Affected Software

21 affected componentsFixes available
redhat/python-pillow<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python-pillow-debuginfo<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python-pillow-debugsource<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python3-pillow<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python3-pillow-debuginfo<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python3-pillow-tk-debuginfo<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python-pillow-debuginfo<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python-pillow-debugsource<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python3-pillow<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python3-pillow-debuginfo<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python3-pillow-tk-debuginfo<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python-pillow-debuginfo<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python-pillow-debugsource<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python3-pillow<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python3-pillow-debuginfo<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python3-pillow-tk-debuginfo<5.1.1-10.el8_1
5.1.1-10.el8_1
redhat/python-pillow-debuginfo<5.1.1-10.el8_1.aa
5.1.1-10.el8_1.aa
redhat/python-pillow-debugsource<5.1.1-10.el8_1.aa
5.1.1-10.el8_1.aa
redhat/python3-pillow<5.1.1-10.el8_1.aa
5.1.1-10.el8_1.aa
redhat/python3-pillow-debuginfo<5.1.1-10.el8_1.aa
5.1.1-10.el8_1.aa
redhat/python3-pillow-tk-debuginfo<5.1.1-10.el8_1.aa
5.1.1-10.el8_1.aa

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 5.1.1-10.el8_1
  2. Upgrade

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

    Fixed in 5.1.1-10.el8_1
  3. Upgrade

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

    Fixed in 5.1.1-10.el8_1
  4. Upgrade

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

    Fixed in 5.1.1-10.el8_1
  5. Upgrade

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

    Fixed in 5.1.1-10.el8_1
  6. Upgrade

    Upgrade redhat/python3-pillow-tk-debuginfo to a version that resolves this vulnerability.

    Fixed in 5.1.1-10.el8_1
  7. Upgrade

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

    Fixed in 5.1.1-10.el8_1.aa
  8. Upgrade

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

    Fixed in 5.1.1-10.el8_1.aa
  9. Upgrade

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

    Fixed in 5.1.1-10.el8_1.aa
  10. Upgrade

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

    Fixed in 5.1.1-10.el8_1.aa
  11. Upgrade

    Upgrade redhat/python3-pillow-tk-debuginfo to a version that resolves this vulnerability.

    Fixed in 5.1.1-10.el8_1.aa
  12. Upgrade

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

    Fixed in 5.1.1-10.el8_1
  13. Upgrade

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

    Fixed in 5.1.1-10.el8_1
  14. Upgrade

    Upgrade python3-pillow-tk to a version that resolves this vulnerability.

    Fixed in 5.1.1-10.el8_1

Event History

Jul 2, 2026
Advisory Published
via Red Hat·03:49 PM
Data Sourced
via Red Hat·03:49 PM
RemedyDescriptionAffected Software

Frequently Asked Questions

1

What is the severity of RHSA-2020:0580?

The severity of RHSA-2020:0580 is rated as moderate.

2

How do I fix RHSA-2020:0580?

You can fix RHSA-2020:0580 by updating the affected python-pillow package to version 5.1.1-10.el8_1 or later.

3

What packages are affected by RHSA-2020:0580?

RHSA-2020:0580 affects the python-pillow and python3-pillow packages along with their debuginfo and debugsource variants.

4

What is the vulnerability in RHSA-2020:0580?

The vulnerability in RHSA-2020:0580 is an out-of-bounds write issue in the expandrow function of the libImaging module.

5

Is there a workaround for RHSA-2020:0580?

There is no specific workaround for RHSA-2020:0580; updating the affected packages is the recommended action.

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