# CVE-2019-19911: python3-pil: There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range function on an unva...

CVE-2019-19911 is fixed in 4 products on 1 platform, first by python-pil 5.1.0-1ubuntu0.2, released January 5, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2019-19911
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0224
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 5, 2020

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-pil Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.2 | [python-pil 5.1.0-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-pil-5.1.0-1ubuntu0.2.md) | Jan 5, 2020 |
| Linux | python-pil.imagetk Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.2 | [python-pil.imagetk 5.1.0-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-pil.imagetk-5.1.0-1ubuntu0.2.md) | Jan 5, 2020 |
| Linux | python3-pil Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.2 | [python3-pil 5.1.0-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-pil-5.1.0-1ubuntu0.2.md) | Jan 5, 2020 |
| Linux | python3-pil.imagetk Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.2 | [python3-pil.imagetk 5.1.0-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-pil.imagetk-5.1.0-1ubuntu0.2.md) | Jan 5, 2020 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
