CVE-2021-28675
mediumpriority · track · 22EPSS 0.010 · 61 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (17)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-1835Red Hat Enterprise Linux (python-pillow): Mehrere SchwachstellenDeutsch2021-11-09csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux in python-pillow ausnutzen, um einen Denial of Service Angriff durchzuführen und vertrauliche Informationen offenzulegen.
- GHSA-g6rj-rv7j-xwp4Pillow denial of service2021-06-08ghsa · osvUS
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`.
- BIT-pillow-2021-286752024-03-06vendor · osvUS
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.
- PYSEC-2021-1392021-06-02vendor · osvUS
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.
also known as (8)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://github.com/python-pillow/Pillow/releases/tag/8.2.0Patchcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/cnnvd
- https://packetstormsecurity.com/files/163500/Gentoo-Linux-Security-Advisory-202107-33.htmlcnnvd
- https://packetstormsecurity.com/files/164871/Red-Hat-Security-Advisory-2021-4149-03.htmlcnnvd
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28675-fix-dos-in-psdimageplugincnnvd
- https://security.gentoo.org/glsa/202107-33cnnvd
- https://vigilance.fr/vulnerability/Pillow-six-vulnerabilities-35493cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.1770cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan