Skip to content

← Public intelligence

PyPI package

pillow

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

117 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.7PyPIAmendedPublished

    Pillow Uncontrolled Resource Consumption

    CVE-2021-27922 · GHSA-3wvg-mj6g-m9cv

    Affected
    • PyPI pillow < 8.1.2
    Fixed in
    8.1.2· Vendor fix available
    Issue
    Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICNS container, and thus an attempted memory allocation can be very large.

    Recommended action: Upgrade to 8.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 8.7PyPIAmendedPublished

    Pillow Denial of Service by Uncontrolled Resource Consumption

    CVE-2021-27921 · GHSA-f4w8-cv6p-x6r5

    Affected
    • PyPI pillow < 8.1.2
    Fixed in
    8.1.2· Vendor fix available
    Issue
    Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.

    Recommended action: Upgrade to 8.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 8.7PyPIAmendedPublished

    Pillow Denial of Service by Uncontrolled Resource Consumption

    CVE-2021-27923 · GHSA-95q3-8gr9-gm8w

    Affected
    • PyPI pillow < 8.1.2
    Fixed in
    8.1.2· Vendor fix available
    Issue
    Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICO container, and thus an attempted memory allocation can be very large.

    Recommended action: Upgrade to 8.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. High, CVSS 7.1PyPIAmendedPublished

    Out-of-bounds reads in Pillow

    CVE-2020-10177 · GHSA-cqhg-xjhh-p8hf

    Affected
    • PyPI pillow < 7.1.0
    Fixed in
    7.1.0· Vendor fix available
    Issue
    Pillow before 7.1.0 has multiple out-of-bounds reads in libImaging/FliDecode.c.

    Recommended action: Upgrade to 7.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. High, CVSS 8.7PyPIAmendedPublished

    Buffer overflow in Pillow

    CVE-2020-10379 · GHSA-8843-m7mw-mxqm

    Affected
    • PyPI pillow < 7.1.0
    Fixed in
    7.1.0· Vendor fix available
    Issue
    In Pillow before 7.1.0, there are two Buffer Overflows in libImaging/TiffDecode.c.

    Recommended action: Upgrade to 7.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. High, CVSS 7.1PyPIAmendedPublished

    Out-of-bounds reads in Pillow

    CVE-2020-10994 · GHSA-vj42-xq3r-hr3r

    Affected
    • PyPI pillow < 7.1.0
    Fixed in
    7.1.0· Vendor fix available
    Issue
    In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.

    Recommended action: Upgrade to 7.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. Critical, CVSS 9.2PyPIAmendedPublished

    Out-of-bounds read in Pillow

    CVE-2020-11538 · GHSA-43fq-w8qq-v88h

    Affected
    • PyPI pillow < 7.1.0
    Fixed in
    7.1.0· Vendor fix available
    Issue
    In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311.

    Recommended action: Upgrade to 7.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. Medium, CVSS 5.1PyPIAmendedPublished

    Pillow Temporary file name leakage

    CVE-2014-1933 · GHSA-r854-96gq-rfg3

    Affected
    • PyPI pillow < 2.3.1
    Fixed in
    2.3.1· Vendor fix available
    Issue
    The (1) JpegImagePlugin.py and (2) EpsImagePlugin.py scripts in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 uses the names of temporary files on the command line, which makes it easier for local users to conduct symlink attacks by listing the processes.

    Recommended action: Upgrade to 2.3.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. High, CVSS 8.7PyPIAmendedPublished

    Uncontrolled Resource Consumption in Pillow

    CVE-2019-19911 · GHSA-5gm3-px64-rw72

    Affected
    • PyPI pillow < 6.2.2
    Fixed in
    6.2.2· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 6.2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. High, CVSS 8.3PyPIAmendedPublished

    Out-of-bounds Read in Pillow

    CVE-2020-5313 · GHSA-hj69-c76v-86wr

    Affected
    • PyPI pillow < 6.2.2
    Fixed in
    6.2.2· Vendor fix available
    Issue
    libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.

    Recommended action: Upgrade to 6.2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. High, CVSS 8.7PyPIAmendedPublished

    DOS attack in Pillow when processing specially crafted image files

    CVE-2019-16865 · GHSA-j7mj-748x-7p78

    Affected
    • PyPI pillow < 6.2.0
    Fixed in
    6.2.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 6.2.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. Critical, CVSS 9.3PyPIAmendedPublished

    Pillow Integer overflow in ImagingResampleHorizontal

    CVE-2016-4009 · GHSA-hvr8-466p-75rh

    Affected
    • PyPI pillow < 3.1.1
    Fixed in
    3.1.1· Vendor fix available
    Issue
    Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow.

    Recommended action: Upgrade to 3.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  13. High, CVSS 7.1PyPIAmendedPublished

    Pillow Buffer overflow in ImagingFliDecode

    CVE-2016-0775 · GHSA-8xjv-v9xq-m5h9

    Affected
    • PyPI pillow < 3.1.1
    Fixed in
    3.1.1· Vendor fix available
    Issue
    Buffer overflow in the ImagingFliDecode function in libImaging/FliDecode.c in Pillow before 3.1.1 allows remote attackers to cause a denial of service (crash) via a crafted FLI file.

    Recommended action: Upgrade to 3.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  14. High, CVSS 7.1PyPIAmendedPublished

    Pillow buffer overflow in ImagingPcdDecode

    CVE-2016-2533 · GHSA-3c5c-7235-994j

    Affected
    • PyPI pillow < 3.1.1
    Fixed in
    3.1.1· Vendor fix available
    Issue
    Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.

    Recommended action: Upgrade to 3.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  15. Medium, CVSS 6.9PyPIAmendedPublished

    Pillow Integer overflow in Map.c

    CVE-2016-9189 · GHSA-rwr3-c2q8-gm56

    Affected
    • PyPI pillow < 3.3.2
    Fixed in
    3.3.2· Vendor fix available
    Issue
    Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.mapbuffer in map.c component.

    Recommended action: Upgrade to 3.3.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  16. Medium, CVSS 6.9PyPIAmendedPublished

    Pillow Buffer overflow in ImagingLibTiffDecode

    CVE-2016-0740 · GHSA-hggx-3h72-49ww

    Affected
    • PyPI pillow < 3.1.1
    Fixed in
    3.1.1· Vendor fix available
    Issue
    Buffer overflow in the ImagingLibTiffDecode function in libImaging/TiffDecode.c in Pillow before 3.1.1 allows remote attackers to overwrite memory via a crafted TIFF file.

    Recommended action: Upgrade to 3.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  17. High, CVSS 8.7PyPIAmendedPublished

    Arbitrary code using "crafted image file" approach affecting Pillow

    CVE-2016-9190 · GHSA-w4vg-rf63-f3j3

    Affected
    • PyPI pillow < 3.3.2
    Fixed in
    3.3.2· Vendor fix available
    Issue
    Pillow before 3.3.2 allows context-dependent attackers to execute arbitrary code by using the "crafted image file" approach, related to an "Insecure Sign Extension" issue affecting the ImagingNew in Storage.c component.

    Recommended action: Upgrade to 3.3.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →