{"id":"CVE-2021-28678","aliases":["BIT-pillow-2021-28678","GHSA-hjfx-8p6c-g7gx","PYSEC-2021-94"],"url":"https://o3.security/vulnerability/CVE-2021-28678","summary":"Insufficient Verification of Data Authenticity in Pillow","details":"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.","published":"2021-06-02T16:15:08.860Z","modified":"2026-08-07T11:31:09.234168390Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"pillow","fixedVersion":"8.2.0"}],"fix":{"url":"https://github.com/python-pillow/Pillow/pull/5377","label":"python-pillow/Pillow#5377"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/"},{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28678-fix-blp-dos"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-33"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/pull/5377"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:09.234168390Z"}}