CVE-2019-19911: Integer Overflow

Published Jan 3, 2020
·
Updated

A denial of service vulnerability was found in Pillow in versions before 6.2.2, where the FpxImagePlugin.py file calls the range function on an unvalidated 32-bit integer if the number of bands is large. On Windows systems running 32-bit Python, this flaw results in an OverflowError or MemoryError due to the 2 GB limit. On Linux systems running 64-bit Python, this flaw results in the termination of the process by the out-of-memory (OOM) killer. The highest threat from this vulnerability is to system availability.

Other sources

There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range function on an unvalidated 32-bit integer if the number of bands is large. On Windows running 32-bit Python, this results in an OverflowError or MemoryError due to the 2 GB limit. However, on Linux running 64-bit Python this results in the process being terminated by the OOM killer.

Affected Software

11 affected componentsFixes available
redhat/python-pillow<6.2.2
6.2.2
pip/pillow>=0<6.2.2
6.2.2
Python Pillow<6.2.2
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=30
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.10
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 6.2.2
  2. Upgrade

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

    Fixed in 6.2.2
  3. 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
  4. Upgrade

    Upgrade Pillow/FpxImagePlugin.py to a version that resolves this vulnerability.

    Fixed in 6.2.2

Event History

Jan 3, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 5, 2020
CVE Published
via MITRE·09:57 PM
Data Sourced
via MITRE·09:57 PM
Description
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Apr 1, 2020
Advisory Published
via GitHub·04:36 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?

The vulnerability ID is CVE-2019-19911.

2

What is the severity of CVE-2019-19911?

CVE-2019-19911 has a severity value of 7.5, which is considered high.

3

Which software versions are affected by CVE-2019-19911?

CVE-2019-19911 affects versions of Pillow before 6.2.2.

4

How can I fix CVE-2019-19911?

To fix CVE-2019-19911, you should update Pillow to version 6.2.2 or later.

5

Where can I find more information about CVE-2019-19911?

You can find more information about CVE-2019-19911 at the following references: [CVE-2019-19911](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19911), [Pillow Release Notes](https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html), [Ubuntu Security Notice](https://ubuntu.com/security/notices/USN-4272-1).

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