ADVISORIES

Vulnerability

CVE-2021-28675

An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.

18 advisories report this vulnerability, across 10 ecosystems.

Advisories in Red Hat

  • RHSA-2021:4149

    Red Hat Security Advisory: python-pillow security update

    CVE-2020-35653CVE-2020-35655CVE-2021-25287CVE-2021-25288 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2021-28675

    python-pillow: Excessive memory allocation in PSD image reader

    Moderate CVE-2021-28675 Red Hat Updated 6 November 2026

References