Advisory

PYSEC-2020-172

Also known as: CVE-2019-19911, GHSA-5gm3-px64-rw72

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2020-01-05 22:15 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 6.2.2 (ecosystem)

Fixed versions

6.2.2

Fix

  • Fixed version 6.2.2
    pip install --upgrade pillow==6.2.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences