{"id":"CVE-2020-5313","details":"libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.","aliases":["BIT-pillow-2020-5313","GHSA-hj69-c76v-86wr","PYSEC-2020-84"],"modified":"2026-04-16T04:31:05.263395212Z","published":"2020-01-03T01:15:11.320Z","related":["SUSE-RU-2020:2072-1","SUSE-RU-2020:2161-1","SUSE-SU-2020:1901-1","SUSE-SU-2020:2057-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/"},{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4272-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4631"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"0"},{"fixed":"a45c8583ff90312a2fddc38567ed736cef4af563"},{"introduced":"0"},{"last_affected":"82541b6dec8452cb612067fcebba1c5a1a2bfdc8"},{"introduced":"0"},{"last_affected":"6e28ed1f36d0eb74053af54e1eddc9c29db698cd"},{"fixed":"a09acd0decd8a87ccce939d5ff65dab59e7d365b"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"6.2.2"},{"introduced":"0"},{"last_affected":"9.0"},{"introduced":"0"},{"last_affected":"10.0"}]}}],"versions":["1.0","1.2","1.7.7","1.7.8","10.0.0","2.0.0","2.1.0","2.2.0","2.2.1","2.3.0","2.5.0","2.7.0","2.8.0","2.8.1","2.9.0","2.9.0.dev0","2.9.0.dev1","2.9.0.dev2","3.1.0","3.1.0-rc1","3.2.0","3.3.0","3.4.0","4.0.0","4.0.0a","4.1.0","4.2.0","4.3.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0","6.0.0","6.1.0","6.2.0","6.2.1","7.0.0","7.1.0","7.2.0","8.0.0","8.1.0","8.2.0","8.3.0","8.4.0","9.0.0","9.1.0","9.2.0","9.3.0","9.4.0","9.5.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"19.10"}]},{"events":[{"introduced":"0"},{"last_affected":"30"}]},{"events":[{"introduced":"0"},{"last_affected":"31"}]}],"vanir_signatures":[{"id":"CVE-2020-5313-b532e49c","digest":{"function_hash":"302220455464486737318526284033412250665","length":3419},"source":"https://github.com/python-pillow/pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365b","signature_type":"Function","deprecated":false,"signature_version":"v1","target":{"function":"ImagingFliDecode","file":"src/libImaging/FliDecode.c"}},{"id":"CVE-2020-5313-d95c34be","digest":{"threshold":0.9,"line_hashes":["37157442833106023353193678460912189837","270660893983846785194614299295365101477","123429680817191715397250062351088262009","80828568724056570888061163794266956490","200114137639258668432822712228387541758","60017815867957894917657944409302113715"]},"source":"https://github.com/python-pillow/pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365b","signature_type":"Line","deprecated":false,"signature_version":"v1","target":{"file":"src/libImaging/FliDecode.c"}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5313.json","vanir_signatures_modified":"2026-04-11T13:53:21Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"}]}