CVE-2021-28678
mediumpriority · track · 22OT risk · elevatedEPSS 0.007 · 54 %ileDEEUUSEPSS · scored 2026-10-27
An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.
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 (12)
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-hjfx-8p6c-g7gxInsufficient Verification of Data Authenticity in Pillow2021-06-08ghsa · osvUS
An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.
- BIT-pillow-2021-286782024-03-06vendor · osvUS
An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.
- PYSEC-2021-942021-06-02vendor · osvUS
An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- https://github.com/python-pillow/Pillow/pull/5377cnnvd
- 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-28678-fix-blp-doscnnvd
- https://security.gentoo.org/glsa/202107-33cnnvd
- https://vigilance.fr/vulnerability/Pillow-six-vulnerabilities-35493cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan