CVE-2020-10378: Medium severity Python Pillow vulnerability

Published Jun 25, 2020
·
Updated

A flaw was found in python-pillow. In libImaging/PcxDecode.c, an out-of-bounds read occurs when reading PCX files where state->shuffle is instructed to read beyond state->buffer.

Other sources

In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.

GitHub

In libImaging/PcxDecode.c in Pillow before 6.2.3 and 7.x before 7.0.1, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.

Pull Request:

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

Upstream Advisory:

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

Upstream Advisory:

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

Red Hat

In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.

Affected Software

9 affected componentsFixes available
redhat/python-pillow<7.1.0
7.1.0
pip/Pillow<7.1.0
7.1.0
Python Pillow<7.1.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

Event History

Jun 25, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·06:22 PM
Data Sourced
via MITRE·06:22 PM
Description
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 3, 2021
Advisory Published
via GitHub·06:04 PM
Feb 25, 2026
Data Sourced
via Ubuntu·06:12 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·06:13 PM
Description
Mar 9, 2026
Data Sourced
via Debian·06:24 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this flaw in python-pillow?

The vulnerability ID for this flaw in python-pillow is CVE-2020-10378.

2

What is the severity of CVE-2020-10378?

The severity of CVE-2020-10378 is medium.

3

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

Versions up to and excluding 7.1.0 of python-pillow are affected by CVE-2020-10378.

4

What is the remedy for CVE-2020-10378 in ubuntu/pillow?

The remedy for CVE-2020-10378 in ubuntu/pillow is version 3.1.2-0ubuntu1.4.

5

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

You can find more information about CVE-2020-10378 on the CVE website and NIST National Vulnerability Database.

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