{"id":"CVE-2020-5313","published":"2020-01-03T00:52:23Z","modified":"2024-08-04T08:22:09Z","title":"libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow","vendor":null,"product":null,"tier":"tail","description":{"text":"libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02644,"percentile":0.85966,"provenance":"source"},"cwes":[],"references":[{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365b","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://usn.ubuntu.com/4272-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2020/dsa-4631","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":17.19}]},"affected":[{"ecosystem":"PyPI","package":"Pillow","vulnerableRanges":["<6.2.2"],"patched":["6.2.2"],"from":["GHSA-hj69-c76v-86wr","PYSEC-2020-84"],"provenance":"source"}],"summary":{"text":"The flaw is a buffer overflow in the FLI decoder, located in libImaging/FliDecode.c within the Pillow imaging library (versions before 6.2.2). Based only on the available details, an attacker could trigger the overflow by supplying a crafted FLI image to Pillow, with the access vector, authentication, user interaction and configuration conditions not specified.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:23Z"},"euvd":{"id":"EUVD-2020-0137","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pillow-cve-2019-16865","parents":[{"from":"CVE-2019-16865","to":"CVE-2020-5313","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/a09acd0decd8a87ccce939d5ff65dab59e7d365b"],"basis":"shared function","functions":["ImagingFliDecode"]}]}],"children":[{"from":"CVE-2020-5313","to":"CVE-2020-10177","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/a09acd0decd8a87ccce939d5ff65dab59e7d365b"],"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"]}]}]}}