{"id":"CVE-2019-16865","published":"2019-10-04T21:09:23Z","modified":"2024-08-05T01:24:48Z","title":"An issue was discovered in Pillow before 6.2.0","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03128,"percentile":0.88171,"provenance":"source"},"cwes":[],"references":[{"url":"https://pillow.readthedocs.io/en/latest/releasenotes/6.2.0.html","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://usn.ubuntu.com/4272-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0566","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.debian.org/security/2020/dsa-4631","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0580","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0578","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0681","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0683","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0694","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":17.63}]},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":["<6.2.0"],"patched":["6.2.0"],"from":["GHSA-j7mj-748x-7p78","PYSEC-2019-110"],"provenance":"source"}],"summary":{"text":"The flaw lies in the Pillow imaging library before version 6.2.0, in its handling of image files when reading them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:55Z"},"euvd":{"id":"EUVD-2019-0102","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pillow-cve-2019-16865","children":[{"from":"CVE-2019-16865","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/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb","https://github.com/python-pillow/Pillow/commit/f6926a041b4b544fd2ced3752542afb6c8c19405","https://github.com/python-pillow/Pillow/commit/c88b0204d7c930e3bd72626ae6ea078571cc0ea7"],"basis":"shared function","functions":["ImagingFliDecode"]}]},{"from":"CVE-2019-16865","to":"CVE-2020-10378","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/PcxDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb","https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7","https://github.com/python-pillow/Pillow/commit/124f4bb591e16212605d0e41c413ed53e242cba2"],"basis":"shared function","functions":["ImagingPcxDecode"]}]},{"from":"CVE-2019-16865","to":"CVE-2020-35655","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/SgiRleDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb","https://github.com/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf","https://github.com/python-pillow/Pillow/commit/7e95c63fa7f503f185d3d9eb16b9cee1e54d1e46"],"basis":"shared function","functions":["ImagingSgiRleDecode"]}]},{"from":"CVE-2019-16865","to":"CVE-2020-5311","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/SgiRleDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb","https://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3"],"basis":"shared function","functions":["ImagingSgiRleDecode"]}]},{"from":"CVE-2019-16865","to":"CVE-2020-5312","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/PcxDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb","https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd"],"basis":"shared function","functions":["ImagingPcxDecode"]}]},{"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"]}]},{"from":"CVE-2019-16865","to":"CVE-2021-25293","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/SgiRleDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb","https://github.com/python-pillow/Pillow/commit/4853e522bddbec66022c0915b9a56255d0188bf9","https://github.com/python-pillow/Pillow/commit/f891baa604636cd2506a9360d170bc2cf4963cc5"],"basis":"shared function","functions":["ImagingSgiRleDecode"]}]},{"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"]}]}]}}