CVE-2019-16865: High severity Python Pillow vulnerability

Published Oct 4, 2019
·
Updated

A flaw was discovered in the way the python-pillow may allocate a large amount of memory or require a long time while processing specially crafted image files, possibly causing a denial of service. Applications that use the library to process untrusted files may be vulnerable to this flaw.

Other sources

An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.

Affected Software

9 affected componentsFixes available
redhat/python-pillow<0:2.0.0-20.gitd1c6db8.el7_7
0:2.0.0-20.gitd1c6db8.el7_7
redhat/python-pillow<0:5.1.1-10.el8_1
0:5.1.1-10.el8_1
redhat/python-pillow<0:5.1.1-10.el8_0
0:5.1.1-10.el8_0
redhat/python-pillow<6.2.0
6.2.0
pip/pillow<6.2.0
6.2.0
Python Pillow<6.2.0
Fedoraproject Fedora=30
Fedoraproject Fedora=31
debian/pillow
8.1.2+dfsg-0.3+deb11u28.1.2+dfsg-0.3+deb11u39.4.0-1.1+deb12u111.1.0-5+deb13u411.1.0-5+deb13u312.2.0-112.3.0-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:2.0.0-20.gitd1c6db8.el7_7
  2. Upgrade

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

    Fixed in 0:5.1.1-10.el8_1
  3. Upgrade

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

    Fixed in 0:5.1.1-10.el8_0
  4. Upgrade

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

    Fixed in 6.2.0
  5. Upgrade

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

    Fixed in 6.2.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-5+deb13u4Fixed in 11.1.0-5+deb13u3Fixed in 12.2.0-1Fixed in 12.3.0-1
  7. Upgrade

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

    Fixed in 6.2.0Patch CVE-2019-16865

Event History

Oct 4, 2019
CVE Published
12:00 AM
CVE Published
via MITRE·09:09 PM
Data Sourced
via MITRE·09:09 PM
Description
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Oct 22, 2019
Advisory Published
via GitHub·02:40 PM
Feb 21, 2026
Data Sourced
via Ubuntu·12:01 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·12:02 AM
Description
Jul 20, 2026
Data Sourced
via Debian·11:40 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID of this issue is CVE-2019-16865.

2

What is the severity of CVE-2019-16865?

The severity of CVE-2019-16865 is high (7 out of 10).

3

What is the affected software?

The affected software is python-pillow.

4

How does the vulnerability affect the software?

The vulnerability may allow an attacker to allocate a large amount of memory or cause a denial of service by processing specially crafted image files.

5

How can I fix CVE-2019-16865?

To fix CVE-2019-16865, update to version 6.2.0 of python-pillow.

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