{"id":"CVE-2021-28676","aliases":["BIT-pillow-2021-28676","GHSA-7r7m-5h27-29hp","PYSEC-2021-92"],"url":"https://o3.security/vulnerability/CVE-2021-28676","summary":"Potential infinite loop in Pillow","details":"An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.","published":"2021-06-02T16:15:08.797Z","modified":"2026-08-07T16:49:50.584047Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856","label":"python-pillow/Pillow@bb6c11f"},"references":[{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/pull/5377"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html"},{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28676-fix-fli-dos"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-33"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856"},{"type":"ARTICLE","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T16:49:50.584047Z"}}