{"id":"CVE-2021-28675","published":"2021-06-02T14:29:12Z","modified":"2024-08-03T21:47:33Z","title":"An issue was discovered in Pillow before 8.2.0","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00956,"percentile":0.62269,"provenance":"source"},"cwes":[],"references":[{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28675-fix-dos-in-psdimageplugin","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://security.gentoo.org/glsa/202107-33","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":12.45}]},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":["<8.2.0"],"patched":["8.2.0"],"from":["GHSA-g6rj-rv7j-xwp4","PYSEC-2021-139"],"provenance":"source"}],"summary":{"text":"The flaw is in Pillow, the Python imaging library, specifically in its PSDImagePlugin.PsdImageFile component, which lacks a sanity check on the number of input layers relative to the size of the data block.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:21Z"},"euvd":{"id":"EUVD-2021-0169","exploited":false,"provenance":"source"}}