{"id":"CVE-2021-28676","published":"2021-06-02T00:00:00Z","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. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02501,"percentile":0.85094,"provenance":"source"},"cwes":[],"references":[{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28676-fix-fli-dos","tags":[]},{"url":"https://github.com/python-pillow/Pillow/pull/5377","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202107-33","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html","tags":["mailing-list"]},{"url":"https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856","tags":[]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":17.02}]},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":["<8.2.0"],"patched":["8.2.0"],"from":["GHSA-7r7m-5h27-29hp","PYSEC-2021-92"],"provenance":"source"}],"summary":{"text":"The flaw is in Pillow, the Python imaging library, specifically in its FLI image decoder (FliDecode), which fails to verify that the block advance value is non-zero when processing FLI data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:06Z"},"euvd":{"id":"EUVD-2021-0183","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pillow-cve-2019-16865","parents":[{"from":"CVE-2019-16865","to":"CVE-2021-28676","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/FliDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb","https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856"],"basis":"shared function","functions":["ImagingFliDecode"]}]},{"from":"CVE-2020-5313","to":"CVE-2021-28676","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/FliDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365b","https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856"],"basis":"shared function","functions":["ImagingFliDecode"]}]},{"from":"CVE-2020-10177","to":"CVE-2021-28676","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/FliDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/f6926a041b4b544fd2ced3752542afb6c8c19405","https://github.com/python-pillow/Pillow/commit/c88b0204d7c930e3bd72626ae6ea078571cc0ea7","https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856"],"basis":"shared function","functions":["ImagingFliDecode"]}]}]}}