CVE-2020-10994: Medium severity Python Pillow vulnerability

Published Jun 25, 2020
·
Updated

An out-of-bounds read flaw was found in python-pillow in the way JP2 images are parsed. An application that uses python-pillow to decode untrusted images may be vulnerable to this issue. This flaw allows an attacker to read data. The highest threat from this vulnerability is to confidentiality.

Other sources

In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.

GitHub

In libImaging/Jpeg2KDecode.c in Pillow before 7.0.0, there are multiple out-of-bounds reads via a crafted JP2 file.

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

In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.

Affected Software

8 affected componentsFixes available
pip/Pillow<7.1.0
7.1.0
redhat/python-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
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:26 PM
Data Sourced
via MITRE·06:26 PM
Description
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 27, 2020
Advisory Published
via GitHub·09:52 PM
Feb 23, 2026
Data Sourced
via Ubuntu·06:12 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·06:12 PM
Description
Mar 9, 2026
Data Sourced
via Debian·06:24 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2020-10994?

CVE-2020-10994 is an out-of-bounds read vulnerability found in python-pillow.

2

How does CVE-2020-10994 impact applications?

Applications that use python-pillow to decode untrusted JP2 images may be vulnerable to data leakage.

3

What is the severity rating of CVE-2020-10994?

CVE-2020-10994 has a severity rating of 5.5 (medium).

4

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

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

5

How can I remediate CVE-2020-10994?

To remediate CVE-2020-10994, upgrade python-pillow to version 7.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