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.
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "low", "binaries": [ { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-imaging" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-imaging-compat" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-imaging-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-imaging-doc" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-imaging-sane" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-imaging-sane-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-imaging-tk" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-imaging-tk-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-pil" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-pil-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-pil-dbgsym" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-pil-doc" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-pil.imagetk" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-pil.imagetk-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-pil.imagetk-dbgsym" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-sane" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-sane-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python-sane-dbgsym" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-imaging" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-imaging-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-imaging-sane" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-imaging-sane-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-imaging-tk" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-imaging-tk-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-pil" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-pil-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-pil-dbgsym" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-pil.imagetk" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-pil.imagetk-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-pil.imagetk-dbgsym" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-sane" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-sane-dbg" }, { "binary_version": "2.3.0-1ubuntu3.4+esm1", "binary_name": "python3-sane-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python-imaging" }, { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python-pil" }, { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python-pil-dbg" }, { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python-pil-doc" }, { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python-pil.imagetk" }, { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python-pil.imagetk-dbg" }, { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python3-pil" }, { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python3-pil-dbg" }, { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python3-pil.imagetk" }, { "binary_version": "3.1.2-0ubuntu1.3", "binary_name": "python3-pil.imagetk-dbg" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "5.1.0-1ubuntu0.2", "binary_name": "python-pil" }, { "binary_version": "5.1.0-1ubuntu0.2", "binary_name": "python-pil-dbg" }, { "binary_version": "5.1.0-1ubuntu0.2", "binary_name": "python-pil-doc" }, { "binary_version": "5.1.0-1ubuntu0.2", "binary_name": "python-pil.imagetk" }, { "binary_version": "5.1.0-1ubuntu0.2", "binary_name": "python-pil.imagetk-dbg" }, { "binary_version": "5.1.0-1ubuntu0.2", "binary_name": "python3-pil" }, { "binary_version": "5.1.0-1ubuntu0.2", "binary_name": "python3-pil-dbg" }, { "binary_version": "5.1.0-1ubuntu0.2", "binary_name": "python3-pil.imagetk" }, { "binary_version": "5.1.0-1ubuntu0.2", "binary_name": "python3-pil.imagetk-dbg" } ] }